CompositionPropertySet.TryGetScalar(String, Single) Method

Definition

Retrieves the specified Single property value.

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

Parameters

propertyName
String

The name of the property to retrieve.

value
Single

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

Returns

CompositionGetValueStatus

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

Applies to