C# 클래스 Microsoft.VisualStudio.Project.ComReferenceNode

상속: ReferenceNode
파일 보기 프로젝트 열기: tunnelvisionlabs/MPFProj10 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetProjectElementBasedOnInputFromComponentSelectorData ( ) : ProjectElement

메소드 상세

BindReferenceData() 보호된 메소드

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

CanShowDefaultIcon() 보호된 메소드

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

ComReferenceNode() 공개 메소드

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

ComReferenceNode() 공개 메소드

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.
리턴 System

ComReferenceNode() 공개 메소드

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
리턴 System

CreatePropertiesObject() 보호된 메소드

protected CreatePropertiesObject ( ) : NodeProperties
리턴 NodeProperties

IsAlreadyAdded() 공개 메소드

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
리턴 bool

SetInstalledFilePath() 보호된 메소드

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

SetProjectItemsThatRelyOnReferencesToBeResolved() 보호된 메소드

protected SetProjectItemsThatRelyOnReferencesToBeResolved ( bool renameItemNode ) : void
renameItemNode bool
리턴 void