BamlLocalizableResource Constructors
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om