IMetaAttributesBreadcrumb.GetSelectionSet

Syntax

GetSelectionSet: IDimSelectionSet;

Description

The GetSelectionSet method returns the indicators selection based on the attributes included into component breadcrumb.

Example

Executing the example requires a form with the Button1 button and the MetaAttributesBreadcrumb component named MetaAttributesBreadcrumb1. The MetaAttributesBreadcrumb1 component is linked to a time series database.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    SelSet: IDimSelectionSet;
    Sel: IDimSelection;
Begin
    SelSet := MetaAttributesBreadcrumb1.GetSelectionSet;
    For Each Sel In SelSet Do
        Debug.WriteLine("Attribute:" + Sel.Dimension.Name);
        Debug.WriteLine("Number of selected elements: " + Sel.SelectedCount.ToString);
    End For;
End Sub Button1OnClick;

After executing the example clicking the button displays information about the selection set by the attributes from breadcrumb of the MetaAttributesBreadcrumb1 component in the development environment console.

See also:

IMetaAttributesBreadcrumb