Partager via


IVsTrackProjectDocuments4 Interface

Definition

Used by projects to query the environment for permission to remove a file or directory in a solution.

public interface class IVsTrackProjectDocuments4
public interface class IVsTrackProjectDocuments4
__interface IVsTrackProjectDocuments4
[System.Runtime.InteropServices.Guid("53544C4D-19F7-4351-9168-240478819500")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTrackProjectDocuments4
[<System.Runtime.InteropServices.Guid("53544C4D-19F7-4351-9168-240478819500")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTrackProjectDocuments4 = interface
Public Interface IVsTrackProjectDocuments4
Attributes

Remarks

This interface enhances several methods defined in IVsTrackProjectDocuments2 by changing the parameter type from enumeration to integer to gain better flexibility. For example, new flags might be introduced in the future, and the methods defined in this interface can be reused.

This interface can be retrieved by a QueryInterface on the SID_SVsTrackProjectDocuments service object. Project systems can call these methods to cause IVsTrackProjectDocumentsEvents4 to be fired to the many clients that try to keep track of changes to the contents of a project.

Methods

OnAfterRemoveDirectoriesEx(IVsProject, Int32, String[], UInt32[])

Called by a project after directories have been removed from the project.

OnAfterRemoveFilesEx(IVsProject, Int32, String[], UInt32[])

Called by a project after files have been removed from the project.

OnQueryRemoveDirectoriesEx(IVsProject, Int32, String[], UInt32[], VSQUERYREMOVEDIRECTORYRESULTS[], VSQUERYREMOVEDIRECTORYRESULTS[])

Called by a project to determine whether directories can be removed from the project.

OnQueryRemoveFilesEx(IVsProject, Int32, String[], UInt32[], VSQUERYREMOVEFILERESULTS[], VSQUERYREMOVEFILERESULTS[])

Called by a project to determine whether files can be removed from the project.

Applies to