Sdílet prostřednictvím


AttributeTranslationCollection.IndexOf Method (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

Parameters

Return Value

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

See Also

Reference

AttributeTranslationCollection Class

IndexOf Overload

Microsoft.AnalysisServices Namespace