Metodo IDataReader.GetName
Gets the name of the field to find.
Spazio dei nomi Microsoft.ReportingServices.DataProcessing
Assembly: Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
Sintassi
'Dichiarazione
Function GetName ( _
fieldIndex As Integer _
) As String
'Utilizzo
Dim instance As IDataReader
Dim fieldIndex As Integer
Dim returnValue As String
returnValue = instance.GetName(fieldIndex)
string GetName(
int fieldIndex
)
String^ GetName(
int fieldIndex
)
abstract GetName :
fieldIndex:int -> string
function GetName(
fieldIndex : int
) : String
Parametri
- fieldIndex
Tipo: System.Int32
The index of the field to find.
Valore restituito
Tipo: System.String
The name of the field, or the empty string ("") if there is no value to return.
Osservazioni
Exceptions
Exception type |
Condition |
---|---|
IndexOutOfRangeException |
The index passed was outside the range of 0 through FieldCount. |