IMetabaseUpdateNode.NodeType

Syntax

NodeType: MetabaseUpdateNodeType;

Description

The NodeType property returns the type of the update object.

Example

Sub Main;

Var

MB: IMetabase;

Update: IMetabaseUpdate;

UFN: IMetabaseUpdateFolderNode;

UN: IMetabaseUpdateNode;

i: Integer;

Begin

MB:=MetabaseClass.Active;

Update:=Mb.CreateUpdate;

Update.LoadFromFile("c:\update.pef");

UFN:=Update.RootFolder;

UN:=UFN.Item(0);

i:=UN.NodeType;

End Sub Main;

After executing the example, the "i" variable contains the type of the first update object converted to an integer view. The update is loaded from the Update.pef file.

See also:

IMetabaseUpdateNode