Version

Contains Method (DateTimeRange)

Returns a boolean value indicating whether the specified date/time value lies completely within this range.
Syntax
public bool Contains( 
   DateTime value
)

Parameters

value
The DateTime value to test.

Return Value

True if the value lies completely within this range.
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