Trim(CalendarPattern,ElementValue,Boolean) Method
Trims elements out of this series either within or ourside the specified CalendarPattern and element property.
Syntax
Parameters
- cp
- CalendarPattern used to trim the series.
- ev
- ElementValue to match against the calendar pattern.
- inclusive
- Whether to trim elements within or outside the specified range. False by default (trims outside the range when calling the method without the inclusive parameter or when set to false.
Remarks
The ElementValue specified must be a System.DateTime property.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also