Modified: Boolean;
The Modified property determines whether there are pending changes in the assembly.
The property returns True if there are pending changes in the assembly.
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: