Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the value of name field in the reader.
Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)
Usage
'Usage
Dim reader As SqlDataReader
Dim fieldName As String
Dim returnValue As String
returnValue = GeneralFunctions.GetValueFromReader(reader, fieldName)
Syntax
'Declaration
<DebuggerStepThroughAttribute> _
Public Shared Function GetValueFromReader ( _
reader As SqlDataReader, _
fieldName As String _
) As String
[DebuggerStepThroughAttribute]
public static string GetValueFromReader (
SqlDataReader reader,
string fieldName
)
[DebuggerStepThroughAttribute]
public:
static String^ GetValueFromReader (
SqlDataReader^ reader,
String^ fieldName
)
/** @attribute DebuggerStepThroughAttribute() */
public static String GetValueFromReader (
SqlDataReader reader,
String fieldName
)
DebuggerStepThroughAttribute
public static function GetValueFromReader (
reader : SqlDataReader,
fieldName : String
) : String
Parameters
- reader
Specifies the SQL data reader.
- fieldName
Specifies the field name whose value to fetch.
Return Value
Type: String
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
GeneralFunctions Class
GeneralFunctions Members
Microsoft.Uii.Common Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.