.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Series Class > Trim Method : Trim(DateTime,DateTime,ElementValue,Boolean) Method
System.DateTime minimum of the range.
System.DateTime maximum of the range.
The ElementValue the range is compared to.
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.
Trim(DateTime,DateTime,ElementValue,Boolean) Method
Trims elements out of this series either within or ourside the specified time range and element property.
Syntax
'Declaration
 
Public Overloads Sub Trim( _
   ByVal Low As Date, _
   ByVal High As Date, _
   ByVal ev As ElementValue, _
   ByVal inclusive As Boolean _
) 
'Usage
 
Dim instance As Series
Dim Low As Date
Dim High As Date
Dim ev As ElementValue
Dim inclusive As Boolean
 
instance.Trim(Low, High, ev, inclusive)

Parameters

Low
System.DateTime minimum of the range.
High
System.DateTime maximum of the range.
ev
The ElementValue the range is compared to.
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