次の方法で共有


NumericIdentity クラス

更新 : 2007 年 11 月

この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

一意の番号を使用する ID です。

名前空間 :  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 クラスを使用すると、コンテナ内で要素が出現する順序として要素の ID を反映させることができます。

継承階層

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 デザイナの機能拡張