AdomdRestrictionCollection.IList.IndexOf 方法
Determines the index of the specified item in the AdomdRestrictionCollection.
命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)
语法
声明
Private Function IndexOf ( _
value As Object _
) As Integer Implements IList.IndexOf
用法
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 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- value
类型:System.Object
The object to locate in the AdomdRestrictionCollection.
返回值
类型:System.Int32
The index of value if found in the AdomdRestrictionCollection; otherwise, -1.