Share via


COM.finalize Method

Definition

Frees resources that are associated with the instance of the COM class.

public:
 override void finalize();
public override void finalize ();
override this.finalize : unit -> unit
Public Overrides Sub finalize ()

Remarks

The following example how to use the finalize method.

objCOM.finalize();

Applies to