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.