다음을 통해 공유


GetName 메서드

Gets the name of the field to find.

네임스페이스:  Microsoft.ReportingServices.DataProcessing
어셈블리:  Microsoft.ReportingServices.Interfaces.dll의 Microsoft.ReportingServices.Interfaces

구문

‘선언
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.