Share via


ClrAssemblyFileCollection.IndexOf(ClrAssemblyFile) Method

Definition

Searches for the specified ClrAssemblyFile and returns its zero-based index within the collection.

public int IndexOf (Microsoft.AnalysisServices.ClrAssemblyFile item);
member this.IndexOf : Microsoft.AnalysisServices.ClrAssemblyFile -> int
Public Function IndexOf (item As ClrAssemblyFile) As Integer

Parameters

item
ClrAssemblyFile

The ClrAssemblyFile to locate.

Returns

The zero-based index of the ClrAssemblyFile in the collection, if found; otherwise, -1.

Applies to