Share via


IVsSolutionEvents7.OnQueryCloseFolder(String, Int32) Method

Definition

Queries listening clients as to whether the folder can be closed.

public:
 void OnQueryCloseFolder(System::String ^ folderPath, [Runtime::InteropServices::Out] int % pfCancel);
public void OnQueryCloseFolder (string folderPath, out int pfCancel);
abstract member OnQueryCloseFolder : string * int -> unit
Public Sub OnQueryCloseFolder (folderPath As String, ByRef pfCancel As Integer)

Parameters

folderPath
String

Full path to the folder to be closed.

pfCancel
Int32

true if the client vetoed the closing of the folder. false if the client approved the closing of the folder.

Applies to