Delen via


CompositionPropertySet.InsertScalar(String, Single) Method

Definition

Inserts a Single key-value pair.

public:
 virtual void InsertScalar(Platform::String ^ propertyName, float value) = InsertScalar;
void InsertScalar(winrt::hstring const& propertyName, float const& value);
public void InsertScalar(string propertyName, float value);
function insertScalar(propertyName, value)
Public Sub InsertScalar (propertyName As String, value As Single)

Parameters

propertyName
String

Platform::String

winrt::hstring

The name of the property to insert.

value
Single

float

The value of the property to insert.

Applies to