NodeType: MetabaseUpdateNodeType;
The NodeType property returns a type of the update object.
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 will contain the type of the first object of an update, which is converted to an integer view. The update is loaded from the Update.pef file.
See also: