Sdílet prostřednictvím


IXamlType.AddToMap(Object, Object, Object) Method

Definition

Adds an item to a custom map type.

public:
 void AddToMap(Platform::Object ^ instance, Platform::Object ^ key, Platform::Object ^ value);
void AddToMap(IInspectable const& instance, IInspectable const& key, IInspectable const& value);
public void AddToMap(object instance, object key, object value);
function addToMap(instance, key, value)
Public Sub AddToMap (instance As Object, key As Object, value As Object)

Parameters

instance
Object

Platform::Object

IInspectable

The type instance to set the map item to.

key
Object

Platform::Object

IInspectable

The key of the map item to add.

value
Object

Platform::Object

IInspectable

The value of the map item to add.

Applies to