LoaderBlockSize: Integer;
The LoaderBlockSize property determines size of loaded dictionary elements block.
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.
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(Null) As 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: