Version

TryGetValues Method

Tries to obtain the value of the constraint.
Syntax
public bool TryGetValues( 
   out object[] values
)

Parameters

values
When the method returns, will be an array of values or null if the list of values could not be obtained.

Return Value

True if the list of values could be obtained; False otherwise.
Remarks

The list of values can only be obtained if it was set with the SetValues method or a formula is applied with one of the SetValuesFormula methods and the formula equals a constant string with a list of values, such as ="A,B,C".

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also