DocumentNode.Identity 属性

更新:2007 年 11 月

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

当在派生类中重写时,获取该节点的标识。

命名空间:  Microsoft.Windows.Design.Documents.Trees
程序集:  Microsoft.Windows.Design.Markup(在 Microsoft.Windows.Design.Markup.dll 中)

语法

声明
Public MustOverride ReadOnly Property Identity As Identity
用法
Dim instance As DocumentNode
Dim value As Identity

value = instance.Identity
public abstract Identity Identity { get; }
public:
virtual property Identity^ Identity {
    Identity^ get () abstract;
}
public abstract function get Identity () : Identity

属性值

类型:Microsoft.Windows.Design.Documents.Identities.Identity

备注

不同的树中表示元素的文档节点将具有相同的标识。例如,文档树中表示实例的 Button1 标识将与文档树中表示文本表示形式的 Button1 具有相同的标识。

权限

另请参见

参考

DocumentNode 类

DocumentNode 成员

Microsoft.Windows.Design.Documents.Trees 命名空间

其他资源

WPF 设计器扩展性