Dela via


CompositionPropertySet.TryGetVector4(String, Vector4) Method

Definition

Retrieves the specified Vector4 property value.

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

Platform::String

winrt::hstring

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

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

Applies to