NumericIdentity 类

更新:2007 年 11 月

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

一个使用唯一编号的标识。

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

语法

声明
Public Class NumericIdentity _
    Inherits IdentityWrapper(Of Integer)
用法
Dim instance As NumericIdentity
public class NumericIdentity : IdentityWrapper<int>
public ref class NumericIdentity : public IdentityWrapper<int>
public class NumericIdentity extends IdentityWrapper<int>

备注

例如,NumericIdentity 类可用于按元素在容器内的显示顺序来反映元素的标识。

继承层次结构

System.Object
  Microsoft.Windows.Design.Documents.Identities.Identity
    Microsoft.Windows.Design.Documents.Identities.IdentityWrapper<Int32>
      Microsoft.Windows.Design.Documents.Identities.NumericIdentity

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

另请参见

参考

NumericIdentity 成员

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

其他资源

WPF 设计器扩展性