NamedSetCollection.Item[String] NamedSetCollection.Item[String] NamedSetCollection.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets the specified NamedSet from the collection by its index. In C#, this property is the indexer for the NamedSetCollection class.

Item[String] Item[String] Item[String]

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

Item[Int32] Item[Int32] Item[Int32]

Gets the specified NamedSet from the collection by its index. In C#, this property is the indexer for the NamedSetCollection class.

public:
 property Microsoft::AnalysisServices::AdomdClient::NamedSet ^ default[int] { Microsoft::AnalysisServices::AdomdClient::NamedSet ^ get(int index); };
public Microsoft.AnalysisServices.AdomdClient.NamedSet this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As NamedSet
Parameters
index
Int32 Int32 Int32

The zero-based index of the NamedSet to find.

Property Value

The NamedSet at the specified index.

Remarks

In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is System.Object and whose index type is String.

Item[String] Item[String] Item[String]

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

public:
 property Microsoft::AnalysisServices::AdomdClient::NamedSet ^ default[System::String ^] { Microsoft::AnalysisServices::AdomdClient::NamedSet ^ get(System::String ^ index); };
public Microsoft.AnalysisServices.AdomdClient.NamedSet this[string index] { get; }
Default Public ReadOnly Property Item(index As String) As NamedSet
Parameters
index
String String String

The name of the NamedSet to find.

Property Value

The NamedSet with the specified name.

Exceptions

Remarks

In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is System.Object and whose index type is String.

Applies to