DesignerAutoFormatCollection.IList.Contains(Object) 方法
定义
当 DesignerAutoFormatCollection 对象被强制转换为 IList 接口时,确定该集合是否包含某个特定的值。Determines whether the collection contains a specific value when the DesignerAutoFormatCollection object is cast to an IList interface.
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
返回
如果对象在 DesignerAutoFormatCollection 中,则为 true;否则为 false。true, if the object is in the DesignerAutoFormatCollection; otherwise, false.
实现
注解
此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DesignerAutoFormatCollection 对象强制转换为接口时使用 IList 。It can be used only when the DesignerAutoFormatCollection object is cast to an IList interface.