BamlLocalizer.UpdateBaml(Stream, BamlLocalizationDictionary) Method
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.
Applies resource updates to the BAML source and writes the updated version to a specified stream in order to create a localized version of the source BAML.
public:
void UpdateBaml(System::IO::Stream ^ target, System::Windows::Markup::Localizer::BamlLocalizationDictionary ^ updates);
public void UpdateBaml (System.IO.Stream target, System.Windows.Markup.Localizer.BamlLocalizationDictionary updates);
member this.UpdateBaml : System.IO.Stream * System.Windows.Markup.Localizer.BamlLocalizationDictionary -> unit
Public Sub UpdateBaml (target As Stream, updates As BamlLocalizationDictionary)
Parameters
- target
- Stream
The stream that will receive the updated BAML.
- updates
- BamlLocalizationDictionary
The resource updates to be applied to the source BAML.
Exceptions
target
or updates
is null
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.