C# Class Microsoft.VisualStudio.Project.Samples.CustomProject.MyCustomProjectNode

Inheritance: ProjectNode
显示文件 Open project: IntelliTect/PowerStudio Class Usage Examples

Public Methods

Method Description
AddFileFromTemplate ( string source, string target ) : void

Adds the file from template.

CreateFileNode ( ProjectElement item ) : FileNode

Creates the file node.

GetAutomationObject ( ) : object

Returns an automation object representing this node

MyCustomProjectNode ( CustomProjectPackage package ) : System

Initializes a new instance of the MyCustomProjectNode class.

Protected Methods

Method Description
GetConfigurationIndependentPropertyPages ( ) : System.Guid[]

Generate new Guid value and update it with GeneralPropertyPage GUID.

GetPriorityProjectDesignerPages ( ) : System.Guid[]

Overriding to provide project general property page.

Private Methods

Method Description
CreateServices ( Type serviceType ) : object
InitializeImageList ( ) : void
MyCustomProjectNode ( ) : System

Initializes the MyCustomProjectNode class.

Method Details

AddFileFromTemplate() public method

Adds the file from template.
public AddFileFromTemplate ( string source, string target ) : void
source string The source template.
target string The target file.
return void

CreateFileNode() public method

Creates the file node.
public CreateFileNode ( ProjectElement item ) : FileNode
item ProjectElement The project element item.
return FileNode

GetAutomationObject() public method

Returns an automation object representing this node
public GetAutomationObject ( ) : object
return object

GetConfigurationIndependentPropertyPages() protected method

Generate new Guid value and update it with GeneralPropertyPage GUID.
protected GetConfigurationIndependentPropertyPages ( ) : System.Guid[]
return System.Guid[]

GetPriorityProjectDesignerPages() protected method

Overriding to provide project general property page.
protected GetPriorityProjectDesignerPages ( ) : System.Guid[]
return System.Guid[]

MyCustomProjectNode() public method

Initializes a new instance of the MyCustomProjectNode class.
public MyCustomProjectNode ( CustomProjectPackage package ) : System
package CustomProjectPackage Value of the project package for initialize internal package field.
return System