Jaa


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

Platform::String

winrt::hstring

The name of the property to retrieve.

value
Single

float

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

Returns

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

Applies to