Clear;
The Clear property clears the custom methods collection.
Sub UserProc;
Var
Mb: IMetabase;
SharedParams: ISharedParams;
Begin
Mb := MetabaseClass.Active;
SharedParams := Mb.SpecialObject(MetabaseSpecialObject.SharedParams).Edit As ISharedParams;
SharedParams.Methods.Clear;
(SharedParams As IMetabaseObject).Save;
End Sub UserProc;
On executing the example collection of custom methods will be cleared.
See also: