DescriptionAttribute.DescriptionValue 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置存储为说明的字符串。
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 。