BamlLocalizationDictionary.Add(BamlLocalizableResourceKey, BamlLocalizableResource) BamlLocalizationDictionary.Add(BamlLocalizableResourceKey, BamlLocalizableResource) BamlLocalizationDictionary.Add(BamlLocalizableResourceKey, BamlLocalizableResource) BamlLocalizationDictionary.Add(BamlLocalizableResourceKey, BamlLocalizableResource) Method

Definition

Adds an item with the provided key and value to the BamlLocalizationDictionary.

public:
 void Add(System::Windows::Markup::Localizer::BamlLocalizableResourceKey ^ key, System::Windows::Markup::Localizer::BamlLocalizableResource ^ value);
public void Add (System.Windows.Markup.Localizer.BamlLocalizableResourceKey key, System.Windows.Markup.Localizer.BamlLocalizableResource value);
member this.Add : System.Windows.Markup.Localizer.BamlLocalizableResourceKey * System.Windows.Markup.Localizer.BamlLocalizableResource -> unit
Public Sub Add (key As BamlLocalizableResourceKey, value As BamlLocalizableResource)

Parameters

Exceptions

An item with the same key already exists.

Applies to

See also