Metodo CubeAttributeCollection.IndexOf (CubeAttribute)

Gets the index of a specified CubeAttribute.

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

Sintassi

'Dichiarazione
Public Function IndexOf ( _
    item As CubeAttribute _
) As Integer
'Utilizzo
Dim instance As CubeAttributeCollection 
Dim item As CubeAttribute 
Dim returnValue As Integer 

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

Parametri

Valore restituito

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

Vedere anche

Riferimento

CubeAttributeCollection Classe

Overload IndexOf

Spazio dei nomi Microsoft.AnalysisServices