Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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 | |
Результат | bool |
protected CreatePropertiesObject ( ) : |
||
Результат |
public DeleteFolder ( string path ) : void | ||
path | string | Path to the folder to delete |
Результат | void |
protected DeleteFromStorage ( string path ) : void | ||
path | string | |
Результат | void |
public FolderNode ( |
||
root | Root node of the hierarchy | |
relativePath | string | relative path from root i.e.: "NewFolder1\\NewFolder2\\NewFolder3 |
element | Associated project element | |
Результат | System |
public GetIconHandle ( bool open ) : object | ||
open | bool | |
Результат | 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. |
Результат | void |
protected QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, |
||
cmdGroup | System.Guid | |
cmd | uint | |
pCmdText | ||
result | QueryStatusResult | |
Результат | int |
public RenameDirectory ( string newPath ) : void | ||
newPath | string | |
Результат | void |
public SetEditLabel ( string label ) : int | ||
label | string | new Name of Folder |
Результат | int |