CompositionPropertySet.InsertVector2(String, Vector2) Method

Definition

Inserts a Vector2 key-value pair.

Equivalent WinUI method: Microsoft.UI.Composition.CompositionPropertySet.InsertVector2.

public:
 virtual void InsertVector2(Platform::String ^ propertyName, float2 value) = InsertVector2;
void InsertVector2(winrt::hstring const& propertyName, float2 const& value);
public void InsertVector2(string propertyName, Vector2 value);
function insertVector2(propertyName, value)
Public Sub InsertVector2 (propertyName As String, value As Vector2)

Parameters

propertyName
String

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

value
Vector2 Vector2

float2

The value to insert.

Applies to