Share via


CompositionPropertySet.InsertColor(String, Color) Method

Definition

Inserts a Color key-value pair.

public:
 virtual void InsertColor(Platform::String ^ propertyName, Color value) = InsertColor;
void InsertColor(winrt::hstring const& propertyName, Color const& value);
public void InsertColor(string propertyName, Color value);
function insertColor(propertyName, value)
Public Sub InsertColor (propertyName As String, value As Color)

Parameters

propertyName
String

Platform::String

winrt::hstring

The key associated with the value. This key can be used to retrieve the value.

value
Color

The value to insert.

Applies to