Freigeben über


IndexOf-Methode (AttributeTranslation)

Gets the index of a specified AttributeTranslation.

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

Syntax

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

Rückgabewert

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