Delen via


CompositionPropertySet.TryGetVector3(String, Vector3) Method

Definition

Retrieves the specified Vector3 property value.

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

Parameters

propertyName
String

Platform::String

winrt::hstring

The name of the property to retrieve.

value
Vector3

float3

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

Returns

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

Applies to