編集

次の方法で共有


BamlLocalizableResource Constructors

Definition

Initializes a new instance of the BamlLocalizableResource class.

Overloads

BamlLocalizableResource()

Initializes a new instance of the BamlLocalizableResource class.

BamlLocalizableResource(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.

BamlLocalizableResource()

Initializes a new instance of the BamlLocalizableResource class.

public:
 BamlLocalizableResource();
public BamlLocalizableResource ();
Public Sub New ()

Applies to

BamlLocalizableResource(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.

public:
 BamlLocalizableResource(System::String ^ content, System::String ^ comments, System::Windows::LocalizationCategory category, bool modifiable, bool readable);
public BamlLocalizableResource (string content, string comments, System.Windows.LocalizationCategory category, bool modifiable, bool readable);
new System.Windows.Markup.Localizer.BamlLocalizableResource : string * string * System.Windows.LocalizationCategory * bool * bool -> System.Windows.Markup.Localizer.BamlLocalizableResource
Public Sub New (content As String, comments As String, category As LocalizationCategory, modifiable As Boolean, readable As Boolean)

Parameters

content
String

The localizable value.

comments
String

Comments used for localizing.

category
LocalizationCategory

The string category of the resource.

modifiable
Boolean

true if the resource should be modifiable; otherwise, false.

readable
Boolean

true if the resource should be visible for translation purposes because it is potentially readable as text in the UI; otherwise, false.

Applies to