AdomdRestrictionCollection.IList.IndexOf Method
Determines the index of the specified item in the AdomdRestrictionCollection.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Private Function IndexOf ( _
value As Object _
) As Integer Implements IList.IndexOf
'Usage
Dim instance As AdomdRestrictionCollection
Dim value As Object
Dim returnValue As Integer
returnValue = CType(instance, IList).IndexOf(value)
int IList.IndexOf(
Object value
)
private:
virtual int IndexOf(
Object^ value
) sealed = IList::IndexOf
private abstract IndexOf :
value:Object -> int
private override IndexOf :
value:Object -> int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- value
Type: System.Object
The object to locate in the AdomdRestrictionCollection.
Return Value
Type: System.Int32
The index of value if found in the AdomdRestrictionCollection; otherwise, -1.