Dela via


BitmapPropertySet.Insert(String, BitmapTypedValue) Method

Definition

Adds an item to the property set.

public:
 virtual bool Insert(Platform::String ^ key, BitmapTypedValue ^ value) = IMap<Platform::String ^, BitmapTypedValue ^>::Insert;
bool Insert(winrt::hstring const& key, BitmapTypedValue const& value);
public bool Insert(string key, BitmapTypedValue value);
function insert(key, value)
Public Function Insert (key As String, value As BitmapTypedValue) As Boolean

Parameters

key
String

Platform::String

winrt::hstring

The key to insert.

value
BitmapTypedValue

The value to insert.

Returns

Boolean

bool

True if the method replaces a value that already exists for the key; false if this is a new key.

Implements

Applies to

See also