Partilhar via


AttributeTranslationCollection.IndexOf(AttributeTranslation) Method

Definition

Searches for the specified AttributeTranslation and returns the zero-based index of it in the collection.

public int IndexOf (Microsoft.AnalysisServices.AttributeTranslation item);
override this.IndexOf : Microsoft.AnalysisServices.AttributeTranslation -> int
Public Function IndexOf (item As AttributeTranslation) As Integer

Parameters

item
AttributeTranslation

The AttributeTranslation to locate in the collection.

Returns

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

Applies to