Поделиться через


Метод GetName

Gets the name of the field to find.

Пространство имен:  Microsoft.ReportingServices.DataProcessing
Сборки:   Microsoft.ReportingServices.Interfaces (в Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (в Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Синтаксис

'Декларация
Function GetName ( _
    fieldIndex As Integer _
) As String
'Применение
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

Параметры

Возвращаемое значение

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

Замечания

Exceptions

Exception type

Condition

IndexOutOfRangeException

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