Udostępnij za pośrednictwem


Metoda AssemblyCollection.IndexOf (Assembly)

Pobiera indeks określonego Assembly.

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

Składnia

'Deklaracja
Public Function IndexOf ( _
    item As Assembly _
) As Integer
'Użycie
Dim instance As AssemblyCollection
Dim item As [Assembly]
Dim returnValue As Integer

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

Parametry

Wartość zwracana

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