IMetaAttributesBreadcrumb.SetSelectionSet

Syntax

SetSelectionSet(Value: IDimSelectionSet);

Parameters

Value. Selection by attributes, which must be set.

Description

The SetSelectionSet method sets indicators selection by the attributes included into the component breadcrumb.

Example

Executing the example requires a form with the Button1 button and the MetaAttributesBreadcrumb component named MetaAttributesBreadcrumb1. The MetaAttributesBreadcrumb1 component is connected 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

Sel.DeselectAll;

Sel.SelectElement(0, False);

End For;

MetaAttributesBreadcrumb1.SetSelectionSet(SelSet);

End Sub Button1OnClick;

After executing the example click the button and the selection by attributes from breadcrumb of the MetaAttributesBreadcrumb1 component is changed. Only the first elements are selected by all attributes.

See also:

IMetaAttributesBreadcrumb