IMetabaseUpdateFolderNode.Count

Syntax

Count: Integer;

Description

The Count property returns the number of update objects.

Example

Sub Main;

Var

MB: IMetabase;

Update: IMetabaseUpdate;

UFN: IMetabaseUpdateFolderNode;

Begin

MB:=MetabaseClass.Active;

Update:=Mb.CreateUpdate;

Update.LoadFromFileNF("c:\update.pefx");

UFN:=Update.RootFolder;

i:=UFN.Count;

End Sub Main;

After executing the example the "i" variable contains the number of update objects loaded from the update.pefx file.

See also:

IMetabaseUpdateFolderNode