CompositionPropertySet.TryGetScalar(String, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.