Item 属性 (String)
Gets the value of a specified column in its native format, given the name 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 ( _
columnName As String _
) As Object
Get
用法
Dim instance As AdomdDataReader
Dim columnName As String
Dim value As Object
value = instance(columnName)
public Object this[
string columnName
] { get; }
public:
virtual property Object^ default[String^ columnName] {
Object^ get (String^ columnName) sealed;
}
abstract Item : Object
override Item : Object
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- columnName
类型:System. . :: . .String
The name of the column to be retrieved.
属性值
类型:System. . :: . .Object
An Object that contains the value of the specified column.