BackupLocationCollection.IList.IndexOf 方法
Determines the index of a specific item in the collection.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Private Function IndexOf ( _
value As Object _
) As Integer Implements IList.IndexOf
用法
Dim instance As BackupLocationCollection
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.
返回值
类型:System.Int32
The index of value if found in the list; otherwise, -1.