Share via


ClrAssemblyFileCollection.IndexOf Method

Gets the index of a specified ClrAssemblyFile.

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

Syntax

'Declaration
Public Function IndexOf ( _
    item As ClrAssemblyFile _
) As Integer
'Usage
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

Parameters

Return Value

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