dotnetCHARTING Send comments on this topic.
Trim(String,Boolean) Method
See Also 
dotnetCHARTING Namespace > SeriesCollection Class > Trim Method : Trim(String,Boolean) Method


parentIDList
A comma delimited list of node IDs that are expanded.
addAttributes
A bool value indicating whether custom attributes are added to describe the nodes.

A trim method used with organizational charts to facilitate interactive navigation. It returns a series of elements leaving only those with IDs specified in the parentIDList and their immediate children.

If addAttributes is true, custom attributes are also added to describe the nodes.

Attribute: "NodeType"

Attribute: "OrganizationalLevel"

Syntax

Visual Basic (Declaration) 
Public Overloads Function Trim( _
   ByVal parentIDList As String, _
   ByVal addAttributes As Boolean _
) As SeriesCollection
Visual Basic (Usage)Copy Code
Dim instance As SeriesCollection
Dim parentIDList As String
Dim addAttributes As Boolean
Dim value As SeriesCollection
 
value = instance.Trim(parentIDList, addAttributes)
C# 
public SeriesCollection Trim( 
   string parentIDList,
   bool addAttributes
)

Parameters

parentIDList
A comma delimited list of node IDs that are expanded.
addAttributes
A bool value indicating whether custom attributes are added to describe the nodes.

Return Value

A series of elements leaving only those with IDs specified in the parentIDList and their immediate children.

See Also

© 2010 All Rights Reserved.