Version

GetName Method (SmartDataReader)

Gets the name of the specified field.
Syntax
'Declaration
 
Public Function GetName( _
   ByVal i As Integer _
) As String
public string GetName( 
   int i
)

Parameters

i
A zero-based index identifying the field to retrieve the name of.

Return Value

The field name of field number i within the records read of the result set, or the empty string if the current field number i has no value (i.e., it's value is DBNull).
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also