IDimSelection.DeselectAll

Syntax

DeselectAll;

Description

The DeselectAll method deletes all dictionary elements from selection.

Example

Sub Main;

Var

MB: IMetabase;

Dimen: IDimInstance;

Selection: IDimSelection;

Begin

MB:=MetabaseClass.Active;

Dimen:=MB.ItemById("D_TO").Open(Null) As IDimInstance;

Selection:=Dimen.CreateSelection;

Selection.SelectChildren(11,True);

Selection.SelectChildren(30,True);

Selection.DeselectAll;

End Sub Main;

After executing the example all dictionary elements are removed from the Selection selection.

See also:

IDimSelection