BamlLocalizer.UpdateBaml Method (Stream, BamlLocalizationDictionary)

 

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.

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

public void UpdateBaml(
	Stream target,
	BamlLocalizationDictionary updates
)

Parameters

target
Type: System.IO.Stream

The stream that will receive the updated BAML.

updates
Type: System.Windows.Markup.Localizer.BamlLocalizationDictionary

The resource updates to be applied to the source BAML.

Exception Condition
ArgumentNullException

target or updates are null.

.NET Framework
Available since 3.0
Return to top
Show: