.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > SeriesCollection Class > Trim Method : Trim(Element,Int32,Boolean) Method
The root element of the resulting series.
Number of levels of children from the root element to return in the resulting series.
A bool value indicating whether custom attributes are added to describe the nodes.
Trim(Element,Int32,Boolean) Method
Syntax
'Declaration
 
Public Overloads Function Trim( _
   ByVal parent As Element, _
   ByVal visibleLevels As Integer, _
   ByVal addAttributes As Boolean _
) As SeriesCollection
'Usage
 
Dim instance As SeriesCollection
Dim parent As Element
Dim visibleLevels As Integer
Dim addAttributes As Boolean
Dim value As SeriesCollection
 
value = instance.Trim(parent, visibleLevels, addAttributes)

Parameters

parent
The root element of the resulting series.
visibleLevels
Number of levels of children from the root element to return in the resulting series.
addAttributes
A bool value indicating whether custom attributes are added to describe the nodes.
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