DescriptionAttribute.DescriptionValue プロパティ

定義

説明として格納されている文字列を取得または設定します。

protected:
 property System::String ^ DescriptionValue { System::String ^ get(); void set(System::String ^ value); };
protected string DescriptionValue { get; set; }
member this.DescriptionValue : string with get, set
Protected Property DescriptionValue As String

プロパティ値

説明として格納されている文字列。 既定値は空の文字列 ("") です。

注釈

プロパティの既定の実装では、 Description 単にこの値が返されます。

この追加のプロパティは、ローカライズされたバージョンから DescriptionAttribute 派生して提供できるように存在します。 派生ローカライズ可能な DescriptionAttribute は、ローカライズされたかどうかを示すプライベートブール値フィールドを保持します。 プロパティに最初に Description アクセスすると、ローカライズされた文字列が検索され、 プロパティに DescriptionValue 格納されます。

適用対象