GetValue 方法
Return the value of the specified field.
命名空間: Microsoft.ReportingServices.DataProcessing
組件: Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)
Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)
語法
'宣告
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
參數
- fieldIndex
型別:System. . :: . .Int32
The index of the field to find.
傳回值
型別: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. |