Udostępnij za pośrednictwem


Metoda PerspectiveAttributeCollection.IndexOf (PerspectiveAttribute)

Pobiera indeks określonego PerspectiveAttribute.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
Public Function IndexOf ( _
    item As PerspectiveAttribute _
) As Integer
'Użycie
Dim instance As PerspectiveAttributeCollection
Dim item As PerspectiveAttribute
Dim returnValue As Integer

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

Wartość zwracana

Typ: System.Int32
Indeksu z PerspectiveAttribute , jeśli obiekt znajduje się; w przeciwnym razie -1.