SimpleEditorView.FQueryTerminate Method
Called when the component manager wishes to know whether the view is in a state in which it can terminate.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Overridable Function FQueryTerminate ( _
fPromptUser As Integer _
) As Integer
public virtual int FQueryTerminate(
int fPromptUser
)
public:
virtual int FQueryTerminate(
int fPromptUser
)
abstract FQueryTerminate :
fPromptUser:int -> int
override FQueryTerminate :
fPromptUser:int -> int
public function FQueryTerminate(
fPromptUser : int
) : int
Parameters
fPromptUser
Type: Int32true if the user should be prompted if it is necessary to terminate, false if the user should not be prompted.
Return Value
Type: Int32
true if the component can terminate, otherwise false.
Implements
IOleComponent.FQueryTerminate(Int32)
Remarks
By default this method is not implemented and returns true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.