Item-Eigenschaft (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.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
columnName As String _
) As Object
Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- columnName
Typ: System. . :: . .String
The name of the column to be retrieved.
Eigenschaftswert
Typ: System. . :: . .Object
An Object that contains the value of the specified column.