MeasureGroupAttributeCollection.IndexOf MeasureGroupAttributeCollection.IndexOf MeasureGroupAttributeCollection.IndexOf Method

Definition

Gets the index of a MeasureGroupAttribute.

Overloads

IndexOf(MeasureGroupAttribute) IndexOf(MeasureGroupAttribute) IndexOf(MeasureGroupAttribute)

Gets the index of a specified MeasureGroupAttribute.

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

Searches for a MeasureGroupAttribute with the specified attribute identifier and returns its zero-based index within the collection.

IndexOf(MeasureGroupAttribute) IndexOf(MeasureGroupAttribute) IndexOf(MeasureGroupAttribute)

Gets the index of a specified MeasureGroupAttribute.

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

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

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

Searches for a MeasureGroupAttribute with the specified attribute identifier and returns its zero-based index within the collection.

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

The attribute identifier of the MeasureGroupAttribute to be looked for.

Returns

The zero-based index of the MeasureGroupAttribute in the collection, if found; otherwise, -1.

Applies to