Свойство MemberPropertyCollection.Item (String)

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

Пространство имен:  Microsoft.AnalysisServices.AdomdClient
Сборка:  Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)

Синтаксис

'Декларация
Public ReadOnly Default Property Item ( _
    index As String _
) As MemberProperty 
    Get
'Применение
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 поддерживает использование индексированных свойств, но не объявление новых.

Параметры

Значение свойства

Тип: Microsoft.AnalysisServices.AdomdClient.MemberProperty
The MemberProperty with the specified name.

Исключения

Исключение Условие
System.InvalidOperationException

The specified member did not exist in the collection.

См. также

Справочник

MemberPropertyCollection Класс

Перегрузка Item

Пространство имен Microsoft.AnalysisServices.AdomdClient