TextDecorationCollection.IList.IndexOf(Object) 方法
定义
确定集合中特定项的索引。Determines the index of a specific item in the collection.
virtual int System.Collections.IList.IndexOf(System::Object ^ value) = System::Collections::IList::IndexOf;
int IList.IndexOf (object value);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (value As Object) As Integer Implements IList.IndexOf
参数
- value
- Object
要在 Object 中定位的 TextDecorationCollection。The Object to locate in the TextDecorationCollection.
返回
如果在列表中找到,则为 value
的索引;否则为 -1。The index of value
if found in the list; otherwise, -1.
实现
注解
此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 TextDecorationCollection 实例被强制转换为 IList 接口时使用。It can be used only when the TextDecorationCollection instance is cast to an IList interface.