次の方法で共有


DisplayPropertyAttribute コンストラクター (String)

指定されたプロパティ名を使用して DisplayPropertyAttribute クラスの新しいインスタンスを初期化します。

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

構文

'宣言
Public Sub New ( _
    displayPropertyName As String _
)
public DisplayPropertyAttribute(
    string displayPropertyName
)
public:
DisplayPropertyAttribute(
    String^ displayPropertyName
)
new : 
        displayPropertyName:string -> DisplayPropertyAttribute
public function DisplayPropertyAttribute(
    displayPropertyName : String
)

パラメーター

  • displayPropertyName
    型: System.String
    デザイナーでの表示に使用するプロパティの名前。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

DisplayPropertyAttribute クラス

DisplayPropertyAttribute オーバーロード

Microsoft.Windows.Design 名前空間