IDimSelectionSchemaPrimitive.Deselect

Syntax

Deselect: Boolean;

Description

The Deselect property determines what occurs to primitive element selection while building the schema of dictionary selection. True removes the selection, False installs it.

Example

Sub UserProc;
Var
    MB: IMetabase;
    ObjDesc: IMetabaseObjectDescriptor;
    DimSelSchema: IDimSelectionSchema;
    SchemaPrimit: IDimSelectionSchemaPrimitive;
    b: Boolean;
Begin
    MB:=MetabaseClass.Active;
    ObjDesc:=MB.ItemById("TAB_DIM");
    If ObjDesc.Children.Count<>0 Then
        If ObjDesc.Children.Item(0).ClassId=1030 Then
            DimSelSchema:=ObjDesc.Children.Item(0).Bind As IDimSelectionSchema;
            SchemaPrimit:=DimSelSchema.Item(0);
            b:=SchemaPrimit.Deselect;
        End If;
    End If;
End Sub UserProc;

After executing the example the "b" variable contains True, if the first primitive element removes its selection from the general selection schema primitive. Dictionary identifier: TAB_DIM.

See also:

IDimSelectionSchemaPrimitive