Compartir a través de


Item Propiedad (String)

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

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.

Parámetros

Excepciones

Excepción Condición
System..::..InvalidOperationException

The specified member did not exist in the collection.