MemberPropertyCollection.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
- index
Tipo: System.String
The name of the MemberProperty to find.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices.AdomdClient.MemberProperty
The MemberProperty with the specified name.
Excepciones
Excepción | Condición |
---|---|
System.InvalidOperationException | The specified member did not exist in the collection. |