C# Class Microsoft.VisualStudio.Project.ComReferenceNode

Inheritance: ReferenceNode
Mostra file Open project: tunnelvisionlabs/MPFProj10 Class Usage Examples

Public Methods

Method Description
ComReferenceNode ( ProjectNode root, ProjectElement element ) : System

Constructor for the ComReferenceNode.

ComReferenceNode ( ProjectNode root, VSCOMPONENTSELECTORDATA selectorData ) : System

Overloaded constructor for creating a ComReferenceNode from selector data

ComReferenceNode ( ProjectNode root, VSCOMPONENTSELECTORDATA selectorData, string wrapperTool ) : System

Overloaded constructor for creating a ComReferenceNode from selector data

IsAlreadyAdded ( ReferenceNode &existingEquivalentNode ) : bool

Checks if a reference is already added. The method parses all references and compares the FinalItemSpec and the GUID.

Protected Methods

Method Description
BindReferenceData ( ) : void

Links a reference node to the project and hierarchy.

CanShowDefaultIcon ( ) : bool

Determines if this is node a valid node for painting the default reference icon.

CreatePropertiesObject ( ) : NodeProperties
SetInstalledFilePath ( ) : void

Verify that the TypeLib is registered and set the installed file path of the com reference.

SetProjectItemsThatRelyOnReferencesToBeResolved ( bool renameItemNode ) : void

Private Methods

Method Description
GetProjectElementBasedOnInputFromComponentSelectorData ( ) : ProjectElement

Method Details

BindReferenceData() protected method

Links a reference node to the project and hierarchy.
protected BindReferenceData ( ) : void
return void

CanShowDefaultIcon() protected method

Determines if this is node a valid node for painting the default reference icon.
protected CanShowDefaultIcon ( ) : bool
return bool

ComReferenceNode() public method

Constructor for the ComReferenceNode.
public ComReferenceNode ( ProjectNode root, ProjectElement element ) : System
root ProjectNode
element ProjectElement
return System

ComReferenceNode() public method

Overloaded constructor for creating a ComReferenceNode from selector data
public ComReferenceNode ( ProjectNode root, VSCOMPONENTSELECTORDATA selectorData ) : System
root ProjectNode The Project node
selectorData VSCOMPONENTSELECTORDATA The component selector data.
return System

ComReferenceNode() public method

Overloaded constructor for creating a ComReferenceNode from selector data
public ComReferenceNode ( ProjectNode root, VSCOMPONENTSELECTORDATA selectorData, string wrapperTool ) : System
root ProjectNode The Project node
selectorData VSCOMPONENTSELECTORDATA The component selector data.
wrapperTool string
return System

CreatePropertiesObject() protected method

protected CreatePropertiesObject ( ) : NodeProperties
return NodeProperties

IsAlreadyAdded() public method

Checks if a reference is already added. The method parses all references and compares the FinalItemSpec and the GUID.
public IsAlreadyAdded ( ReferenceNode &existingEquivalentNode ) : bool
existingEquivalentNode ReferenceNode
return bool

SetInstalledFilePath() protected method

Verify that the TypeLib is registered and set the installed file path of the com reference.
protected SetInstalledFilePath ( ) : void
return void

SetProjectItemsThatRelyOnReferencesToBeResolved() protected method

protected SetProjectItemsThatRelyOnReferencesToBeResolved ( bool renameItemNode ) : void
renameItemNode bool
return void