Méthode | Description | |
---|---|---|
CanAddItems ( string files, VSQUERYADDFILEFLAGS flags ) : bool |
Asks the environment for permission to add files.
|
|
CanRemoveItems ( string files, VSQUERYREMOVEFILEFLAGS flags ) : bool |
Asks the environment for permission to remove files.
|
|
CanRenameItem ( string oldFileName, string newFileName, VSRENAMEFILEFLAGS flag ) : bool |
Asks the environment for permission to rename files.
|
|
OnItemAdded ( string file, VSADDFILEFLAGS flag ) : void |
Notify the environment about a file just added
|
|
OnItemRemoved ( string file, VSREMOVEFILEFLAGS flag ) : void |
Notify the environment about a file just removed
|
|
OnItemRenamed ( string strOldName, string strNewName, VSRENAMEFILEFLAGS flag ) : void |
Get's called to tell the env that a file was renamed
|
|
TrackDocumentsHelper ( |
Méthode | Description | |
---|---|---|
GetIVsTrackProjectDocuments2 ( ) : IVsTrackProjectDocuments2 |
Gets the IVsTrackProjectDocuments2 object by asking the service provider for it.
|
public CanAddItems ( string files, VSQUERYADDFILEFLAGS flags ) : bool | ||
files | string | The files to add. |
flags | VSQUERYADDFILEFLAGS | The VSQUERYADDFILEFLAGS flags associated to the files added |
Résultat | bool |
public CanRemoveItems ( string files, VSQUERYREMOVEFILEFLAGS flags ) : bool | ||
files | string | an array of files to remove |
flags | VSQUERYREMOVEFILEFLAGS | The VSQUERYREMOVEFILEFLAGS associated to the files to be removed. |
Résultat | bool |
public CanRenameItem ( string oldFileName, string newFileName, VSRENAMEFILEFLAGS flag ) : bool | ||
oldFileName | string | Path to the file to be renamed. |
newFileName | string | Path to the new file. |
flag | VSRENAMEFILEFLAGS | The VSRENAMEFILEFLAGS associated with the file to be renamed. |
Résultat | bool |
protected GetIVsTrackProjectDocuments2 ( ) : IVsTrackProjectDocuments2 | ||
Résultat | IVsTrackProjectDocuments2 |
public OnItemAdded ( string file, VSADDFILEFLAGS flag ) : void | ||
file | string | |
flag | VSADDFILEFLAGS | |
Résultat | void |
public OnItemRemoved ( string file, VSREMOVEFILEFLAGS flag ) : void | ||
file | string | |
flag | VSREMOVEFILEFLAGS | |
Résultat | void |
public OnItemRenamed ( string strOldName, string strNewName, VSRENAMEFILEFLAGS flag ) : void | ||
strOldName | string | |
strNewName | string | |
flag | VSRENAMEFILEFLAGS | |
Résultat | void |
public TrackDocumentsHelper ( |
||
project | ||
Résultat | System |