Share via


ImpactDetailCollection.IndexOf Method

Gets the index of a specified ImpactDetail.

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

Syntax

'Declaration
Public Function IndexOf ( _
    item As ImpactDetail _
) As Integer
'Usage
Dim instance As ImpactDetailCollection 
Dim item As ImpactDetail 
Dim returnValue As Integer 

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

Parameters

Return Value

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

See Also

Reference

ImpactDetailCollection Class

Microsoft.AnalysisServices Namespace