BamlLocalizer.UpdateBaml(Stream, BamlLocalizationDictionary) Method

Definition

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