LocalizabilityAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the localization attributes for a binary XAML (BAML) class or class member.
public ref class LocalizabilityAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=true)]
public sealed class LocalizabilityAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=true)>]
type LocalizabilityAttribute = class
inherit Attribute
Public NotInheritable Class LocalizabilityAttribute
Inherits Attribute
- Inheritance
- Attributes
Remarks
This attribute can be applied to a class, property, or method.
For more information on how to use localization attributes, see Localization Attributes and Comments.
Constructors
| Name | Description |
|---|---|
| LocalizabilityAttribute(LocalizationCategory) |
Initializes a new instance of the LocalizabilityAttribute class with a specified localization category. |
Properties
| Name | Description |
|---|---|
| Category |
Gets the category setting of the localization attribute's targeted value. |
| Modifiability |
Gets or sets the modifiability setting of the localization attribute's targeted value. |
| Readability |
Gets or sets the readability setting of the localization attribute's targeted value. |