Свойство | Тип | Описание | |
---|---|---|---|
CreateDirectory | void | ||
CreateDirectory | void | ||
GetSccSpecialFiles | void | ||
IProjectSourceNode | int | ||
IProjectSourceNode | int |
Метод | Описание | |
---|---|---|
CollapseFolder ( ) : void |
Collapses the folder.
|
|
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.
|
|
DeleteFromStorage ( string path ) : void | ||
ExpandFolder ( ) : void |
Expands the folder.
|
|
FolderNode ( |
Constructor for the FolderNode
|
|
GetAutomationObject ( ) : object |
Get the automation object for the FolderNode
|
|
GetEditLabel ( ) : string |
Provides the node name for inline editing of caption. Overriden to diable this fuctionality for non member fodler node.
|
|
GetIconHandle ( bool open ) : object | ||
GetMKDocument ( ) : string | ||
GetProperty ( int propId ) : object |
Gets the node property.
|
|
GetSccFiles ( System |
Enumerate the files associated with this node. A folder node is not a file and as such no file to enumerate.
|
|
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
|
|
SetProperty ( int propid, object value ) : int |
Sets the node property.
|
|
UpdateSccStateIcons ( ) : void |
Recursevily walks the folder nodes and redraws the state icons
|
Метод | Описание | |
---|---|---|
AddToMSBuild ( bool recursive ) : void |
Adds the this node to the build system.
|
|
CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool | ||
CreatePropertiesObject ( ) : |
||
ExecCommandOnNode ( System.Guid cmdGroup, uint cmd, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT nCmdexecopt, |
||
QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, |
||
RenameFolder ( string newName ) : void | ||
SetExpanded ( bool expanded ) : void |
Sets the expanded state of the folder.
|
|
ShowFileOrFolderAlreadExistsErrorMessage ( string newPath ) : int |
Show error message if not in automation mode, otherwise throw exception
|
Метод | Описание | |
---|---|---|
CreateDirectory ( ) : void | ||
CreateDirectory ( string newName ) : void | ||
GetSccSpecialFiles ( string sccFile, IList |
||
IProjectSourceNode ( ) : int | ||
IProjectSourceNode ( bool recursive ) : int |
protected AddToMSBuild ( bool recursive ) : void | ||
recursive | bool | Flag to indicate if the addition should be recursive. |
Результат | void |
protected CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool | ||
deleteOperation | __VSDELETEITEMOPERATION | |
Результат | bool |
protected CreatePropertiesObject ( ) : |
||
Результат |
public DeleteFolder ( string path ) : void | ||
path | string | Path to the folder to delete |
Результат | void |
public DeleteFromStorage ( string path ) : void | ||
path | string | |
Результат | void |
protected ExecCommandOnNode ( System.Guid cmdGroup, uint cmd, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT nCmdexecopt, |
||
cmdGroup | System.Guid | |
cmd | uint | |
nCmdexecopt | Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT | |
pvaIn | ||
pvaOut | ||
Результат | int |
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 |
public GetProperty ( int propId ) : object | ||
propId | int | Property id. |
Результат | object |
public GetSccFiles ( System |
||
files | System |
The list of files to be placed under source control. |
flags | System |
The flags that are associated to the files. |
Результат | void |
protected QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, |
||
cmdGroup | System.Guid | |
cmd | uint | |
pCmdText | ||
result | EnvDTE.vsCommandStatus | |
Результат | int |
public RenameDirectory ( string newPath ) : void | ||
newPath | string | |
Результат | void |
protected RenameFolder ( string newName ) : void | ||
newName | string | |
Результат | void |
public SetEditLabel ( string label ) : int | ||
label | string | new Name of Folder |
Результат | int |
protected SetExpanded ( bool expanded ) : void | ||
expanded | bool | Flag that indicates the expanded state of the folder. /// This should be 'true' for expanded and 'false' for collapsed state. |
Результат | void |
public SetProperty ( int propid, object value ) : int | ||
propid | int | Property id. |
value | object | Property value. |
Результат | int |
protected ShowFileOrFolderAlreadExistsErrorMessage ( string newPath ) : int | ||
newPath | string | path of file or folder already existing on disk |
Результат | int |