Méthode | Description | |
---|---|---|
DeleteFolder ( string path ) : void |
Override if your node is not a file system folder so that it does nothing or it deletes it from your storage location.
|
|
FolderNode ( |
Constructor for the FolderNode
|
|
GetAutomationObject ( ) : object |
Get the automation object for the FolderNode
|
|
GetIconHandle ( bool open ) : object | ||
GetMkDocument ( ) : string | ||
RenameDirectory ( string newPath ) : void |
Rename the physical directory for a folder node Override if your node does not use file system folder
|
|
SetEditLabel ( string label ) : int |
Rename Folder
|
Méthode | Description | |
---|---|---|
CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool | ||
CreatePropertiesObject ( ) : |
||
DeleteFromStorage ( string path ) : void | ||
GetSccFiles ( IList |
Enumerate the files associated with this node. A folder node is not a file and as such no file to enumerate.
|
|
QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, |
||
UpdateSccStateIcons ( ) : void |
Recursevily walks the folder nodes and redraws the state icons
|
Méthode | Description | |
---|---|---|
CreateDirectory ( ) : void | ||
CreateDirectory ( string newName ) : void | ||
GetSccSpecialFiles ( string sccFile, IList |
||
RenameFolder ( string newName ) : void | ||
ShowFileOrFolderAlreadExistsErrorMessage ( string newPath ) : int |
Show error message if not in automation mode, otherwise throw exception
|
protected CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool | ||
deleteOperation | __VSDELETEITEMOPERATION | |
Résultat | bool |
protected CreatePropertiesObject ( ) : |
||
Résultat |
public DeleteFolder ( string path ) : void | ||
path | string | Path to the folder to delete |
Résultat | void |
protected DeleteFromStorage ( string path ) : void | ||
path | string | |
Résultat | void |
public FolderNode ( |
||
root | Root node of the hierarchy | |
relativePath | string | relative path from root i.e.: "NewFolder1\\NewFolder2\\NewFolder3 |
element | Associated project element | |
Résultat | System |
public GetIconHandle ( bool open ) : object | ||
open | bool | |
Résultat | object |
protected GetSccFiles ( IList |
||
files | IList |
The list of files to be placed under source control. |
flags | IList |
The flags that are associated to the files. |
Résultat | void |
protected QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, |
||
cmdGroup | System.Guid | |
cmd | uint | |
pCmdText | ||
result | QueryStatusResult | |
Résultat | int |
public RenameDirectory ( string newPath ) : void | ||
newPath | string | |
Résultat | void |
public SetEditLabel ( string label ) : int | ||
label | string | new Name of Folder |
Résultat | int |