次の方法で共有


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 プロパティに格納されます。

適用対象