AggregationDimensionCollection.IndexOf AggregationDimensionCollection.IndexOf AggregationDimensionCollection.IndexOf Method

Definition

Gets the index of an AggregationDimension.

Overloads

IndexOf(AggregationDimension) IndexOf(AggregationDimension) IndexOf(AggregationDimension)

Gets the index of a specified AggregationDimension.

IndexOf(String) IndexOf(String) IndexOf(String)

Gets the index of an AggregationDimension with the specified identifier.

IndexOf(AggregationDimension) IndexOf(AggregationDimension) IndexOf(AggregationDimension)

Gets the index of a specified AggregationDimension.

public:
 int IndexOf(Microsoft::AnalysisServices::AggregationDimension ^ item);
public int IndexOf (Microsoft.AnalysisServices.AggregationDimension item);
Public Function IndexOf (item As AggregationDimension) As Integer
Parameters
Returns

The zero-based index of the AggregationDimension if the object is found; otherwise, -1.

IndexOf(String) IndexOf(String) IndexOf(String)

Gets the index of an AggregationDimension with the specified identifier.

public:
 int IndexOf(System::String ^ cubeDimensionId);
public int IndexOf (string cubeDimensionId);
Public Function IndexOf (cubeDimensionId As String) As Integer
Parameters
cubeDimensionId
String String String

The identifier of an AggregationDimension to be located.

Returns

The zero-based index of the AggregationDimension specified by cubeDimensionID if the object is found; otherwise, -1.

Applies to