IMetabaseUpdateFolderNode.Count

Syntax

Count: Integer;

Description

The Count property returns the number of update objects.

Example

Executing the example requires that the root of the C disc contains the update.pefx update file.

Sub UserProc;
Var
    MB: IMetabase;
    Update: IMetabaseUpdate;
    UFN: IMetabaseUpdateFolderNode;
Begin
    MB := MetabaseClass.Active;
    Update := Mb.CreateUpdate;
    Update.LoadFromFileNF("c:\update.pefx");
    UFN := Update.RootFolder;
    Debug.WriteLine(UFN.Count);
End Sub UserProc;

After executing the example the development environment console displays the number of objects contained in the specified update file.

See also:

IMetabaseUpdateFolderNode