Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 925 Bytes

resourcedictionary_insert_2047927601.md

File metadata and controls

32 lines (23 loc) · 925 Bytes
-api-id -api-type
M:Microsoft.UI.Xaml.ResourceDictionary.Insert(System.Object,System.Object)
winrt method

Microsoft.UI.Xaml.ResourceDictionary.Insert

-description

Adds a new entry to the ResourceDictionary.

-parameters

-param key

The object key for the resource to insert.

-param value

The object value for the resource to insert.

-returns

true if calling the method replaced a value that already existed for the key; false if calling the method defined a new key.

-remarks

Note

The equivalent Microsoft .NET API is Add.

-examples

-see-also

Add, ResourceDictionary and XAML resource references