Compartilhar via


Método IndexOf (AttributeTranslation)

Gets the index of a specified AttributeTranslation.

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

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As AttributeTranslation _
) As Integer
'Uso
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

Valor de retorno

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