NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

LocalizableAttribute Class

Specifies whether a property or extender should be localized.

Object
   Attribute
      MemberAttribute
         LocalizableAttribute

[Visual Basic]
Public Class LocalizableAttribute
   Inherits MemberAttribute
[C#]
public class LocalizableAttribute : MemberAttribute
[C++]
public __gc class LocalizableAttribute : public MemberAttribute
[JScript]
public class LocalizableAttribute extends MemberAttribute

Remarks

When code is generated for a component, members that are marked with Localizable(true) have their property values saved in resource files. You can localize the resource files. You do not have to modify the code.

Members that have no localizable attribute or are marked with Localizable(false) do not have their property values saved. The default is false.

Note   When you mark a property with Localizable(true), the value of this attribute is set to the constant member LocalizableAttribute.Yes. For a property marked with Localizable(false), the value is LocalizableAttribute.No. Therefore, when you want to check the value of this attribute in your code, you must specify the attribute as LocalizableAttribute.Yes or LocalizableAttribute.No.

For more information, see TBD and TBD.

Requirements

Namespace: System.ComponentModel

Assembly: System.dll

See Also

System.ComponentModel Namespace | MemberAttribute | PropertyDescriptor