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


parentID
ID of the end node of the organizational chain.
elementTemplate
Template used for each element from the root to the element with with specified ID.
lastElementTemplate
Template used for the last breadcrumb. This is provided so the last element doesnt have to be linked.
separator
Separator inserted into the resulting string between each element.
Constructs a string using the template and separator for each element from the main root to the specified element in the organizational chain. Element tokens are processed in the specified template for each element which can be used to construct breadcrumb links to enable organizational drilldown navigation.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetElementBreadcrumbs( _
   ByVal parentID As Integer, _
   ByVal elementTemplate As String, _
   ByVal lastElementTemplate As String, _
   ByVal separator As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As SeriesCollection
Dim parentID As Integer
Dim elementTemplate As String
Dim lastElementTemplate As String
Dim separator As String
Dim value As String
 
value = instance.GetElementBreadcrumbs(parentID, elementTemplate, lastElementTemplate, separator)
C# 
public string GetElementBreadcrumbs( 
   int parentID,
   string elementTemplate,
   string lastElementTemplate,
   string separator
)

Parameters

parentID
ID of the end node of the organizational chain.
elementTemplate
Template used for each element from the root to the element with with specified ID.
lastElementTemplate
Template used for the last breadcrumb. This is provided so the last element doesnt have to be linked.
separator
Separator inserted into the resulting string between each element.

See Also

© 2010 All Rights Reserved.