IndexOf méthode (AttributeTranslation)
Gets the index of a specified AttributeTranslation.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
item As AttributeTranslation _
) As Integer
'Utilisation
Dim instance As AttributeTranslationCollection
Dim item As AttributeTranslation
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
AttributeTranslation item
)
public:
int IndexOf(
AttributeTranslation^ item
)
member IndexOf :
item:AttributeTranslation -> int
public function IndexOf(
item : AttributeTranslation
) : int
Paramètres
- item
Type : Microsoft.AnalysisServices. . :: . .AttributeTranslation
The AttributeTranslation to be returned.
Valeur de retour
Type : System. . :: . .Int32
The zero-based index of the AttributeTranslation if the object is found; otherwise, -1.