CompositionPropertySet.TryGetVector2(String, Vector2) 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 TryGetVector2(Platform::String ^ propertyName, [Out] float2 & value) = TryGetVector2;
CompositionGetValueStatus TryGetVector2(winrt::hstring const& propertyName, [Out] float2 & value);
public CompositionGetValueStatus TryGetVector2(string propertyName, out Vector2 value);
Public Function TryGetVector2 (propertyName As String, ByRef value As Vector2) As CompositionGetValueStatus
Parameters
- propertyName
-
String
Platform::String
winrt::hstring
The name of the property to retrieve.
- value
-
Vector2
float2
If the operation is successful, this parameter will contain the specified Vector2 property value when the method returns.
Returns
Returns a CompositionGetValueStatus value indicating the outcome of retrieving the key-value pair.