Freigeben über


IDataReader.GetValue-Methode

Return the value of the specified field.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblys:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Syntax

'Declaration
Function GetValue ( _
    fieldIndex As Integer _
) As Object
'Usage
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

Parameter

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

Rückgabewert

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

Hinweise

Exceptions

Exception type

Condition

IndexOutOfRangeException

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

Siehe auch

Verweis

IDataReader Schnittstelle

Microsoft.ReportingServices.DataProcessing-Namespace