DimensionAttributeCollection.IndexOf DimensionAttributeCollection.IndexOf DimensionAttributeCollection.IndexOf Method

Definition

Gets the index of a DimensionAttribute.

Overloads

IndexOf(DimensionAttribute) IndexOf(DimensionAttribute) IndexOf(DimensionAttribute)

Gets the index of a specified DimensionAttribute.

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

Gets the index of a DimensionAttribute with the specified identifier.

IndexOf(DimensionAttribute) IndexOf(DimensionAttribute) IndexOf(DimensionAttribute)

Gets the index of a specified DimensionAttribute.

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

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

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

Gets the index of a DimensionAttribute with the specified identifier.

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

The identifier of a DimensionAttribute to be located.

Returns

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

Applies to