Jaa


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.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to