LocalizableAttribute.Yes 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定应本地化属性。 此 static 字段为只读。
public: static initonly System::ComponentModel::LocalizableAttribute ^ Yes;
public static readonly System.ComponentModel.LocalizableAttribute Yes;
staticval mutable Yes : System.ComponentModel.LocalizableAttribute
Public Shared ReadOnly Yes As LocalizableAttribute
字段值
注解
将属性 LocalizableAttribute 标记为 “设置为 true” 时,此属性的值将设置为常量成员 Yes。 因此,如果要检查属性是否在代码中设置为此值,则必须将属性指定为 LocalizableAttribute.Yes。