Item 属性 (Int32)

Gets the value of a specified column in its native format, given the ordinal position of the column. In Microsoft Visual C#, this property is the indexer for the AdomdDataReader class.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Object
    Get
用法
Dim instance As AdomdDataReader
Dim index As Integer
Dim value As Object

value = instance(index)
public Object this[
    int index
] { get; }
public:
virtual property Object^ default[int index] {
    Object^ get (int index) sealed;
}
abstract Item : Object
override Item : Object
JScript 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

类型:System. . :: . .Object
An Object that contains the value of the specified column.

实现

IDataRecord. . :: . .Item[ ( [ ( Int32] ) ] )