TranslationCollection.IndexOf Method (Translation)

Gets the index of a specified Translation.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    item As Translation _
) As Integer
'Usage
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

Parameters

Return Value

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