Xamarin.Forms Guides | Samples

Xamarin.Forms.ResourceDictionary.Add Method

Adds key and value to the ResourceDictionary as a key-value pair.

Syntax

public Void Add (String key, Object value)

Parameters

key
The identifier to be used to retrieve the value.
value
The Object associated with the key.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0