次の方法で共有


PropertyValue.StringValue プロパティ

この PropertyValue の値を String として取得または設定します。

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

構文

'宣言
Public Property StringValue As String
    Get
    Set
public string StringValue { get; set; }
public:
property String^ StringValue {
    String^ get ();
    void set (String^ value);
}
member StringValue : string with get, set
function get StringValue () : String
function set StringValue (value : String)

プロパティ値

型: System.String
この PropertyValue の値を格納している文字列。

解説

既定値は Empty です。

プロパティに String が含まれない場合は、代わりに Value プロパティまたは Collection プロパティを使用します。

このプロパティの set メソッドは、処理のために次のメソッドを呼び出します。

このプロパティの get メソッドは、処理のために次のメソッドを呼び出します。

このプロパティは必要に応じて OnPropertyValueException を呼び出し、例外を処理します。

.NET Framework セキュリティ

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

参照

参照

PropertyValue クラス

Microsoft.Windows.Design.PropertyEditing 名前空間

PropertyEntry

PropertyValueEditor

その他の技術情報

WPF デザイナーの機能拡張

プロパティ編集アーキテクチャ