TextDecorationCollection.IList.Contains(Object) 方法
定义
确定集合中是否包含特定值。Determines whether the collection contains a specific value.
virtual bool System.Collections.IList.Contains(System::Object ^ value) = System::Collections::IList::Contains;
bool IList.Contains (object value);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (value As Object) As Boolean Implements IList.Contains
参数
- value
- Object
要在 Object 中定位的 TextEffectCollection。The Object to locate in the TextEffectCollection.
返回
如果在 TextDecorationCollection 中找到了 Object,则为 true
;否则为 false
。true
if the Object is found in the TextDecorationCollection; otherwise, false
.
实现
注解
此成员是显式接口成员的实现。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.