共用方式為


OleComponent.FQueryTerminateCore(Int32) Method

Definition

Default implemmentation of FQueryTerminate. Simply raises the QueryTerminate event if there are listeners.

protected:
 virtual bool FQueryTerminateCore(int fPromptUser);
protected:
 virtual bool FQueryTerminateCore(int fPromptUser);
 virtual bool FQueryTerminateCore(int fPromptUser);
protected virtual bool FQueryTerminateCore (int fPromptUser);
abstract member FQueryTerminateCore : int -> bool
override this.FQueryTerminateCore : int -> bool
Protected Overridable Function FQueryTerminateCore (fPromptUser As Integer) As Boolean

Parameters

fPromptUser
Int32

Returns

If there are listeners to QueryTerminate we return the appropriate TRUE/FALSE value based on CanTerminate, otherwise we return TRUE (1).

Applies to