Share via


ModelItem.IsItemOfType 方法 (TypeIdentifier)

[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]

获取一个值,该值指示此项是否属于指定类型或者是否实现指定接口。

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

语法

声明
Public Overridable Function IsItemOfType ( _
    typeIdentifier As TypeIdentifier _
) As Boolean
public virtual bool IsItemOfType(
    TypeIdentifier typeIdentifier
)
public:
virtual bool IsItemOfType(
    TypeIdentifier typeIdentifier
)
abstract IsItemOfType : 
        typeIdentifier:TypeIdentifier -> bool 
override IsItemOfType : 
        typeIdentifier:TypeIdentifier -> bool 
public function IsItemOfType(
    typeIdentifier : TypeIdentifier
) : boolean

参数

返回值

类型:System.Boolean
如果此项属于指定类型或实现指定接口,则为 true;否则为 false。

.NET Framework 安全性

请参见

参考

ModelItem 类

IsItemOfType 重载

Microsoft.Windows.Design.Model 命名空间

其他资源

WPF 设计器扩展性体系结构

编辑模型体系结构