Condividi tramite


Metodo IndexOf (Translation)

Gets the index of a specified Translation.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function IndexOf ( _
    item As Translation _
) As Integer
'Utilizzo
Dim instance As TranslationCollection
Dim item As Translation
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf(
    Translation item
)
public:
int IndexOf(
    Translation^ item
)
member IndexOf : 
        item:Translation -> int 
public function IndexOf(
    item : Translation
) : int

Parametri

Valore restituito

Tipo: System. . :: . .Int32
The zero-based index of the Translation if the object is found; otherwise, -1.