BamlLocalizableResource Class

 

Represents a localizable resource in a BAML stream.

Namespace:   System.Windows.Markup.Localizer
Assembly:  PresentationFramework (in PresentationFramework.dll)

System::Object
  System.Windows.Markup.Localizer::BamlLocalizableResource

public ref class BamlLocalizableResource 

NameDescription
System_CAPS_pubmethodBamlLocalizableResource()

Initializes a new instance of the BamlLocalizableResource class.

System_CAPS_pubmethodBamlLocalizableResource(String^, String^, LocalizationCategory, Boolean, Boolean)

Initializes a new instance of the BamlLocalizableResource class, with the specified localizable value, localization comments, resource category, localization lock status, and visibility of the resource.

NameDescription
System_CAPS_pubpropertyCategory

Gets or sets the localization category of a resource.

System_CAPS_pubpropertyComments

Gets or sets the localization comments associated with a resource.

System_CAPS_pubpropertyContent

Gets or sets the localizable content.

System_CAPS_pubpropertyModifiable

Gets or sets a value that indicates whether the localizable resource is modifiable.

System_CAPS_pubpropertyReadable

Gets or sets whether the resource is visible for translation.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether a specified BamlLocalizableResource object is equal to this object.(Overrides Object::Equals(Object^).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns an integer hash code representing this instance. (Overrides Object::GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The BamlLocalizableResource class is the value component of the key-value pairs found in a BamlLocalizationDictionary.

The following example demonstrates how to use a BamlLocalizableResource.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: