CompositionPropertySet.TryGetVector4(String, Vector4) Method

Definition

Retrieves the specified Vector4 property value.

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

public:
 virtual CompositionGetValueStatus TryGetVector4(Platform::String ^ propertyName, [Out] float4 & value) = TryGetVector4;
CompositionGetValueStatus TryGetVector4(winrt::hstring const& propertyName, [Out] float4 & value);
public CompositionGetValueStatus TryGetVector4(string propertyName, out Vector4 value);
Public Function TryGetVector4 (propertyName As String, ByRef value As Vector4) As CompositionGetValueStatus

Parameters

propertyName
String

The name of the property to retrieve.

value
Vector4

float4

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

Returns

CompositionGetValueStatus

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

Applies to