Partager via


Méthode IDataReader.GetName

Gets the name of the field to find.

Espace de noms :  Microsoft.ReportingServices.DataProcessing
Assemblys :   Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)

Syntaxe

'Déclaration
Function GetName ( _
    fieldIndex As Integer _
) As String
'Utilisation
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

Paramètres

  • fieldIndex
    Type : System.Int32
    The index of the field to find.

Valeur de retour

Type : System.String
The name of the field, or the empty string ("") if there is no value to return.

Notes

Exceptions

Exception type

Condition

IndexOutOfRangeException

The index passed was outside the range of 0 through FieldCount.

Voir aussi

Référence

IDataReader Interface

Espace de noms Microsoft.ReportingServices.DataProcessing