IDynamicInstance.LoaderBlockSize

Syntax

LoaderBlockSize: Integer;

Description

The LoaderBlockSize property determines size of loaded dictionary elements block.

Comments

On dynamic loading dictionary elements are loaded by blocks. If necessary, load new elements, then next block of specified size is loaded.

Only on dictionary creation property value can be set up.

Example

Executing the example requires that the repository contains MDM table dictionary with set dynamic loading of elements and with the DYNDIM identifier.

Add links to the Dimensions and Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Dim: IDynamicInstance;
Begin
    MB := MetabaseClass.Active;
    Dim := MB.ItemById("DYNDIM").Open(NullAs IDimInstance;
    Debug.WriteLine("Size of loaded elements block: " + Dim.LoaderBlockSize.ToString);
End Sub UserProc;

After executing the example the console displays size of dictionary loaded elements block.

See also:

IDynamicInstance