TranslationCollection.IndexOf Méthode

Définition

Surcharges

IndexOf(Translation)

Recherche l’objet Translation spécifié et retourne son index de base zéro dans la collection.

IndexOf(Int32)

Recherche un Translation avec la langue spécifiée et retourne son index de base zéro dans la collection.

IndexOf(Translation)

Recherche l’objet Translation spécifié et retourne son index de base zéro dans la collection.

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

Paramètres

item
Translation

Translation à rechercher dans la collection.

Retours

Index de base zéro de l’objet Translation dans la collection, s’il est trouvé ; sinon, -1.

S’applique à

IndexOf(Int32)

Recherche un Translation avec la langue spécifiée et retourne son index de base zéro dans la collection.

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

Paramètres

language
Int32

Langue du Translation à rechercher dans la collection.

Retours

Index de base zéro de l’objet Translation dans la collection, s’il est trouvé ; sinon, -1.

S’applique à