다음을 통해 공유


GetValue 메서드

Return the value of the specified field.

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

구문

‘선언
Function GetValue ( _
    fieldIndex As Integer _
) As Object
‘사용 방법
Dim instance As IDataReader
Dim fieldIndex As Integer
Dim returnValue As Object

returnValue = instance.GetValue(fieldIndex)
Object GetValue(
    int fieldIndex
)
Object^ GetValue(
    int fieldIndex
)
abstract GetValue : 
        fieldIndex:int -> Object 
function GetValue(
    fieldIndex : int
) : Object

매개 변수

반환 값

형식: System. . :: . .Object
The value of the field at the specified index.

주의

Exceptions

Exception type

Condition

IndexOutOfRangeException

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