Version

TryGetUpperConstraint(DateTime) Method

Tries to obtain the value of the upper constraint.
Syntax
public bool TryGetUpperConstraint( 
   out DateTime value
)

Parameters

value
When the method returns, will be the value of the constraint or DateTime.MinValue if the value could not be obtained.

Return Value

True if the constraint value could be obtained; False otherwise.
Remarks

The constraint value can only be obtained if it was set with one of the SetUpperConstraint methods or a formula was set with one of the SetLowerConstraintFormula methods and the formula equals a constant value, such as =5.

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