AdomdDataReader.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.