Свойство | Type | Description | |
---|---|---|---|
GetNestedHierarchy | int | ||
GetRegisteredProject | |||
OnNestedProjectFileChangedOnDisk | void | ||
RunVsTemplateWizard | void |
Méthode | Description | |
---|---|---|
CloseChildren ( ) : int | ||
EnumNestedHierachiesForBuildDependency ( ) : IVsHierarchy[] |
Enumerates the nested hierachies that should be added to the build dependency list.
|
|
IsItemDirty ( uint itemId, |
||
OpenChildren ( ) : int | ||
ReloadItem ( uint itemId, uint reserved ) : int |
Called to reload a project item. Reloads a project and its nested project nodes.
|
|
SaveItem ( VSSAVEFLAGS dwSave, string silentSaveAsName, uint itemid, |
Méthode | Description | |
---|---|---|
AddExistingNestedProject ( |
Add an existing project as a nested node of our hierarchy. This is used while loading the project and can also be used to add an existing project to our hierarchy.
|
|
AddNestedProjectFromTemplate ( |
This will clone a template project file and add it as a subproject to our hierarchy. If you want to create a project for which there exist a vstemplate, consider using RunVsTemplateWizard instead.
|
|
AddNestedProjectFromTemplate ( string fileName, string destination, string projectName, |
This can be called directly or through RunVsTemplateWizard. This will clone a template project file and add it as a subproject to our hierarchy. If you want to create a project for which there exist a vstemplate, consider using RunVsTemplateWizard instead.
|
|
AddVirtualProjects ( ) : void |
Links the nested project nodes to the solution. The default implementation parses all nested project nodes and calles AddVirtualProjectEx on them.
|
|
CreateNestedProjectNode ( |
Override this method if you want to provide your own type of nodes. This would be the case if you derive a class from NestedProjectNode
|
|
CreateNestedProjectNodes ( ) : void |
This is used when loading the project to loop through all the items and for each SubProject it finds, it create the project and a node in our Hierarchy to hold the project.
|
|
FilterItemTypeToBeAddedToHierarchy ( string itemType ) : bool | ||
GetProjectTemplatePath ( |
Based on the Template and TypeGuid properties of the element, generate the full template path. TypeGuid should be the Guid of a registered project factory. Template can be a full path, a project template (for projects that support VsTemplates) or a relative path (for other projects).
|
|
Reload ( ) : void |
Reloads a project and its nested project nodes.
|
|
ReloadNestedProjectNode ( |
Reloads a nested project node by deleting it and readding it.
|
|
RemoveNestedProjectNodes ( ) : void |
Méthode | Description | |
---|---|---|
GetNestedHierarchy ( uint itemId, System.Guid &iidHierarchyNested, |
||
GetRegisteredProject ( |
Get information from the registry based for the project factory corresponding to the TypeGuid of the element
|
|
OnNestedProjectFileChangedOnDisk ( object sender, |
Event callback. Called when one of the nested project files is changed.
|
|
RunVsTemplateWizard ( |
protected AddExistingNestedProject ( |
||
element | ||
creationFlags | __VSCREATEPROJFLAGS | |
Résultat |
protected AddNestedProjectFromTemplate ( |
||
element | ||
creationFlags | __VSCREATEPROJFLAGS | |
Résultat |
protected AddNestedProjectFromTemplate ( string fileName, string destination, string projectName, |
||
fileName | string | |
destination | string | |
projectName | string | |
element | ||
creationFlags | __VSCREATEPROJFLAGS | |
Résultat |
protected CreateNestedProjectNode ( |
||
element | ||
Résultat |
protected CreateNestedProjectNodes ( ) : void | ||
Résultat | void |
public EnumNestedHierachiesForBuildDependency ( ) : IVsHierarchy[] | ||
Résultat | IVsHierarchy[] |
protected FilterItemTypeToBeAddedToHierarchy ( string itemType ) : bool | ||
itemType | string | |
Résultat | bool |
protected GetProjectTemplatePath ( |
||
element | ||
Résultat | string |
public IsItemDirty ( uint itemId, |
||
itemId | uint | |
punkDocData | ||
pfDirty | int | |
Résultat | int |
public ReloadItem ( uint itemId, uint reserved ) : int | ||
itemId | uint | Specifies itemid from VSITEMID. |
reserved | uint | Reserved. |
Résultat | int |
protected ReloadNestedProjectNode ( |
||
node | The node to reload. | |
Résultat | void |
protected RemoveNestedProjectNodes ( ) : void | ||
Résultat | void |
public SaveItem ( VSSAVEFLAGS dwSave, string silentSaveAsName, uint itemid, |
||
dwSave | VSSAVEFLAGS | |
silentSaveAsName | string | |
itemid | uint | |
punkDocData | ||
pfCancelled | int | |
Résultat | int |