IVsTrackProjectDocuments2 Members

Include Protected Members
Include Inherited Members

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

The IVsTrackProjectDocuments2 type exposes the following members.

Methods

  Name Description
Public method AdviseTrackProjectDocumentsEvents This method enables clients to receive notifications of project documents events.
Public method BeginBatch This method starts a batch of IVsTrackProjectDocuments2.OnAfter* method calls.
Public method EndBatch This method ends the batch started by BeginBatch and displays any user interface (UI) that was generated within the batch.
Public method Flush This method displays the UI for the IVsTrackProjectDocuments2 calls completed so far without ending the batch.
Public method OnAfterAddDirectories This method is called by a project after directories have been added to the project.
Public method OnAfterAddDirectoriesEx This method is called by a project after directories have been added to the project. This method is equivalent to OnAfterAddDirectories, but it also takes flags.
Public method OnAfterAddFiles This method is called by a project after files have been added to the project.
Public method OnAfterAddFilesEx This method is called by a project after files have been added to the project.
Public method OnAfterRemoveDirectories This method is called by a project after directories have been removed from the project.
Public method OnAfterRemoveFiles This method is called by a project after files have been removed from the project.
Public method OnAfterRenameDirectories This method is called by a project after a directory has been renamed in the project.
Public method OnAfterRenameFile This method is called by a project after a file has been renamed in the project.
Public method OnAfterRenameFiles This method is called by a project after files have been renamed in the project.
Public method OnAfterSccStatusChanged This method is called by the Source Control Stub to inform listeners that source control status has changed. Do not call this method.
Public method OnQueryAddDirectories This method is called by a project to determine whether directories can be added to the project.
Public method OnQueryAddFiles This method is called by a project to determine whether files can be added to the project.
Public method OnQueryRemoveDirectories This method is called by a project to determine whether directories can be removed from the project.
Public method OnQueryRemoveFiles This method is called by a project to determine whether files can be removed from the project.
Public method OnQueryRenameDirectories This method is called by a project to determine whether directories in the project can be renamed.
Public method OnQueryRenameFile This method is called by a project to determine whether a file in the project can be renamed.
Public method OnQueryRenameFiles This method is called by a project to determine whether files can be renamed in the project.
Public method UnadviseTrackProjectDocumentsEvents This method prevents clients from receiving notifications of project documents events.

Top

See Also

Reference

IVsTrackProjectDocuments2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace