BamlLocalizationDictionary.Add 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.
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
A key for the resource.
- value
- BamlLocalizableResource
An object that contains the resource.
Exceptions
key
is null
.
An item with the same key already exists.
Applies to
See also
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.