Propriedade 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.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
columnName As String _
) As Object
Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- columnName
Tipo: System. . :: . .String
The name of the column to be retrieved.
Valor da propriedade
Tipo: System. . :: . .Object
An Object that contains the value of the specified column.
Implementa
Consulte também