次の方法で共有


NameIdentity クラス

更新 : 2007 年 11 月

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

一意の名前から作成される ID です。

名前空間 :  Microsoft.Windows.Design.Documents.Identities
アセンブリ :  Microsoft.Windows.Design.Markup (Microsoft.Windows.Design.Markup.dll 内)

構文

'宣言
Public Class NameIdentity _
    Inherits IdentityWrapper(Of String)
'使用
Dim instance As NameIdentity
public class NameIdentity : IdentityWrapper<string>
public ref class NameIdentity : public IdentityWrapper<String^>
public class NameIdentity extends IdentityWrapper<String>

解説

たとえば、NameIdentity クラスを、要素の ID (その要素の属性のいずれかを表す一意の ID) と組み合わせることができます。

継承階層

System.Object
  Microsoft.Windows.Design.Documents.Identities.Identity
    Microsoft.Windows.Design.Documents.Identities.IdentityWrapper<String>
      Microsoft.Windows.Design.Documents.Identities.NameIdentity

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

参照

参照

NameIdentity メンバ

Microsoft.Windows.Design.Documents.Identities 名前空間

その他の技術情報

WPF デザイナの機能拡張