다음을 통해 공유


TranslationCollection.IndexOf Method

Definition

Overloads

IndexOf(Translation)

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

IndexOf(Int32)

Searches for a Translation with the specified language and returns the zero-based index of it in the collection.

IndexOf(Translation)

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

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

Parameters

item
Translation

The Translation to locate in the collection.

Returns

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

Applies to

IndexOf(Int32)

Searches for a Translation with the specified language and returns the zero-based index of it in the collection.

public int IndexOf (int language);
override this.IndexOf : int -> int
Public Function IndexOf (language As Integer) As Integer

Parameters

language
Int32

The language of the Translation to locate in the collection.

Returns

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

Applies to