This documentation is archived and is not being maintained.

LocalizableAttribute.Yes Field

Specifies that a property should be localized. This static (Shared in Visual Basic) field is read-only.

[Visual Basic]
Public Shared ReadOnly Yes As LocalizableAttribute
public static readonly LocalizableAttribute Yes;
public: static LocalizableAttribute* Yes;
public static var Yes : LocalizableAttribute;


When you mark a property with the LocalizableAttribute constructor of the value true, the value of this attribute is set to the constant member Yes. Therefore, when you want to check whether the attribute is set to this value in your code, you must specify the attribute as LocalizableAttribute.Yes.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

LocalizableAttribute Class | LocalizableAttribute Members | System.ComponentModel Namespace | LocalizableAttribute | No