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
- item
Type: Microsoft.AnalysisServices.ImpactDetail
The ImpactDetail to be returned.
Return Value
Type: System.Int32
The zero-based index of the ImpactDetail if the object is found; otherwise, -1.