Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​LocalizableAttribute

Assembly: System.ComponentModel.Primitives

Inheritance: object → Attribute → LocalizableAttribute

Specifies whether a property or parameter should be localized. This class cannot be inherited.

Fields and Constants

public static readonly LocalizableAttribute
Default
Specifies the default value, which is <see cref="F:System.ComponentModel.LocalizableAttribute.No" /> . This <see langword="static" /> field is read-only.
public static readonly LocalizableAttribute
No
Specifies that a property should not be localized. This <see langword="static" /> field is read-only.
public static readonly LocalizableAttribute
Yes
Specifies that a property should be localized. This <see langword="static" /> field is read-only.

Properties

public bool
IsLocalizable
Gets a value indicating whether a property should be localized.
public object
TypeId

Methods

public bool
Equals​(object obj)
Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.LocalizableAttribute" /> .
Returns <see langword="true" /> if the value of the given object is equal to that of the current; otherwise, <see langword="false" /> .
obj The object to test the value equality of.
public int
GetHashCode​()
Returns the hash code for this instance.
Returns A hash code for the current <see cref="T:System.ComponentModel.LocalizableAttribute" /> .
public bool
IsDefaultAttribute​()
Determines if this attribute is the default.
Returns <see langword="true" /> if the attribute is the default value for this attribute class; otherwise, <see langword="false" /> .
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object