ContentPropertyAttribute コンストラクター

定義

ContentPropertyAttribute クラスの新しいインスタンスを初期化します。

オーバーロード

ContentPropertyAttribute()

ContentPropertyAttribute クラスの新しいインスタンスを初期化します。

ContentPropertyAttribute(String)

指定された名前を使用して、ContentPropertyAttribute クラスの新しいインスタンスを初期化します。

ContentPropertyAttribute()

ContentPropertyAttribute クラスの新しいインスタンスを初期化します。

public:
 ContentPropertyAttribute();
public ContentPropertyAttribute ();
Public Sub New ()

注釈

属性の Inherited=true 宣言により、 の値 ContentPropertyAttribute は通常、すべての派生クラスにもコンテンツ プロパティの指定を適用します。 このシグネチャを使用するか、空 ContentPropertyAttributeの を適用すると、派生クラスは基底クラスによるコンテンツ プロパティ属性の宣言を削除できます (また、クラスにはコンテンツ プロパティがないことに注意してください)。

適用対象

ContentPropertyAttribute(String)

指定された名前を使用して、ContentPropertyAttribute クラスの新しいインスタンスを初期化します。

public:
 ContentPropertyAttribute(System::String ^ name);
public ContentPropertyAttribute (string name);
new System.Windows.Markup.ContentPropertyAttribute : string -> System.Windows.Markup.ContentPropertyAttribute
Public Sub New (name As String)

パラメーター

name
String

コンテンツ プロパティであるプロパティのプロパティ名。

注釈

CLR バッキングを想定すると、指定された name は CLR 型システムの関連プロパティの と一致 MemberInfo.Name する必要があります。

適用対象