Compartilhar via


Propriedade do RDL Item (String)

Gets the specified MemberProperty from the collection by its name. In C#, this property is the indexer for the MemberPropertyCollection class.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    index As String _
) As MemberProperty
    Get
'Uso
Dim instance As MemberPropertyCollection
Dim index As String
Dim value As MemberProperty

value = instance(index)
public MemberProperty this[
    string index
] { get; }
public:
property MemberProperty^ default[String^ index] {
    MemberProperty^ get (String^ index);
}
member Item : MemberProperty
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Exceções

Exceção Condição
System..::..InvalidOperationException

The specified member did not exist in the collection.