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 that the repository contains an assembly with the ASSEMBLY_1 identifier.

Sub UserProc;
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 UserProc;

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

See also:

IAssembly