IAssembly.Modified

Syntax

Modified: Boolean;

Description

The Modified property determines whether there are pending changes in the assembly.

Comments

The property returns True if there are pending changes in the assembly.

Example

Executing the example requires an assembly with the Assembly_1 identifier.

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Asm: IAssembly;

Begin

MB := MetabaseClass.Active;

MObj := MB.ItemById("Assembly_1").Edit;

Asm := MObj As IAssembly;

Asm.References := "Dt;Etl;Io";

If Asm.Modified Then

MObj.Save;

End If;

End Sub Main;

After executing this example the list of references to the system assemblies is changed.

See also:

IAssembly