指定したプロパティ名および値コンバーターを使用して、DisplayPropertyAttribute クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.Windows.Design
アセンブリ: Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)
構文
'宣言
Public Sub New ( _
displayPropertyName As String, _
valueConverterType As Type _
)
public DisplayPropertyAttribute(
string displayPropertyName,
Type valueConverterType
)
public:
DisplayPropertyAttribute(
String^ displayPropertyName,
Type^ valueConverterType
)
new :
displayPropertyName:string *
valueConverterType:Type -> DisplayPropertyAttribute
public function DisplayPropertyAttribute(
displayPropertyName : String,
valueConverterType : Type
)
パラメーター
- displayPropertyName
型: System.String
デザイナーでの表示に使用するプロパティの名前。
- valueConverterType
型: System.Type
値コンバーターの型。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。