Share via


CompositionPropertySet.TryGetQuaternion(String, Quaternion) Method

Definition

Retrieves the specified quaternion property value.

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

Parameters

propertyName
String

Platform::String

winrt::hstring

The name of the property to retrieve.

value
Quaternion

quaternion

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

Returns

Returns an enumeration value indicating the outcome of retrieving the key-value pair.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to