Compartir a través de


GetValue Método

Return the value of the specified field.

Espacio de nombres:  Microsoft.ReportingServices.DataProcessing
Ensamblados:   Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Sintaxis

'Declaración
Function GetValue ( _
    fieldIndex As Integer _
) As Object
'Uso
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

Parámetros

Valor devuelto

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

Comentarios

Exceptions

Exception type

Condition

IndexOutOfRangeException

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