共用方式為


IOleComponent.Terminate Method

Terminates the message loop.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣告
Sub Terminate
void Terminate()

Remarks

The component should revoke its registration with the component manager, release references to the component manager and perform any necessary cleanup.

.NET Framework Security

See Also

Reference

IOleComponent Interface

Microsoft.VisualStudio.OLE.Interop Namespace