Partilhar via


Método IndexOf

Gets the index of a specified ClrAssemblyFile.

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

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As ClrAssemblyFile _
) As Integer
'Uso
Dim instance As ClrAssemblyFileCollection
Dim item As ClrAssemblyFile
Dim returnValue As Integer

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

Parâmetros

Valor de retorno

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