C# Class Microsoft.VisualStudio.Project.ComReferenceNode

Inheritance: ReferenceNode
Afficher le fichier Open project: tunnelvisionlabs/MPFProj10 Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode Description
GetProjectElementBasedOnInputFromComponentSelectorData ( ) : ProjectElement

Method Details

BindReferenceData() protected méthode

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

CanShowDefaultIcon() protected méthode

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

ComReferenceNode() public méthode

Constructor for the ComReferenceNode.
public ComReferenceNode ( ProjectNode root, ProjectElement element ) : System
root ProjectNode
element ProjectElement
Résultat System

ComReferenceNode() public méthode

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.
Résultat System

ComReferenceNode() public méthode

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
Résultat System

CreatePropertiesObject() protected méthode

protected CreatePropertiesObject ( ) : NodeProperties
Résultat NodeProperties

IsAlreadyAdded() public méthode

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
Résultat bool

SetInstalledFilePath() protected méthode

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

SetProjectItemsThatRelyOnReferencesToBeResolved() protected méthode

protected SetProjectItemsThatRelyOnReferencesToBeResolved ( bool renameItemNode ) : void
renameItemNode bool
Résultat void