ModelItemCollection.IList.Contains 方法

有关此成员的说明,请参见 IList.Contains

命名空间:  Microsoft.Windows.Design.Model
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Private Function Contains ( _
    value As Object _
) As Boolean Implements IList.Contains
bool IList.Contains(
    Object value
)
private:
virtual bool Contains(
    Object^ value
) sealed = IList::Contains
private abstract Contains : 
        value:Object -> bool 
private override Contains : 
        value:Object -> bool 
JScript 不支持显式接口实现。

参数

返回值

类型:System.Boolean
如果在 IList 中找到 Object,则为 true;否则为 false。

实现

IList.Contains(Object)

备注

此成员是显式的接口成员实现。 它只能在 ModelItemCollection 实例强制转换为 IList 接口时使用。

.NET Framework 安全性

请参见

参考

ModelItemCollection 类

Microsoft.Windows.Design.Model 命名空间

其他资源

WPF 设计器扩展性体系结构