CompositionPropertySet.TryGetVector2(String, Vector2) CompositionPropertySet.TryGetVector2(String, Vector2) CompositionPropertySet.TryGetVector2(String, Vector2) CompositionPropertySet.TryGetVector2(String, Vector2) Method

Definition

Retrieves the specified Vector2 property value.

public : CompositionGetValueStatus TryGetVector2(Platform::String propertyName, Vector2 value)
CompositionGetValueStatus TryGetVector2(winrt::hstring propertyName, Vector2 const& value) const;
public CompositionGetValueStatus TryGetVector2(String propertyName, Vector2 value)
Public Function TryGetVector2(propertyName As String, value As Vector2) As CompositionGetValueStatus

Parameters

propertyName
String String

The name of the property to retrieve.

value
Vector2 Vector2

If the operation is successful, this parameter will contain the specified Vector2 property value when the method returns.

Returns

Returns a CompositionGetValueStatus value indicating the outcome of retrieving the key-value pair.