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

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

공개 메소드들

메소드 설명
AddReference ( ) : void

Links a reference node to the project and hierarchy.

GetAutomationObject ( ) : object

Get an instance of the automation object for ReferenceNode

GetEditLabel ( ) : string

Disable inline editing of Caption of a ReferendeNode

GetIconHandle ( bool open ) : object
GetMKDocument ( ) : string

This method is called by the interface method GetMkDocument to specify the item moniker.

IsAlreadyAdded ( ReferenceNode &existingEquivalentNode ) : bool

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

PrepareSelectedNodesForClipboard ( ) : StringBuilder

References node cannot be dragged.

RefreshReference ( ) : void

Refreshes a reference by re-resolving it and redrawing the icon.

보호된 메소드들

메소드 설명
BindReferenceData ( ) : void
CanAddReference ( CannotAddReferenceErrorMessage &errorHandler ) : bool

Validates that a reference can be added.

CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool
CreatePropertiesObject ( ) : NodeProperties
ExcludeFromProject ( ) : int

Not supported.

ExecCommandOnNode ( System.Guid cmdGroup, uint cmd, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
IsAlreadyAdded ( ) : bool

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

QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, IntPtr pCmdText, EnvDTE.vsCommandStatus &result ) : int
ReferenceNode ( ProjectNode root ) : System

constructor for the ReferenceNode

ReferenceNode ( ProjectNode root, ProjectElement element ) : System

constructor for the ReferenceNode

ResolveReference ( ) : void

Resolves references.

ShowObjectBrowser ( ) : int

Shows the Object Browser

메소드 상세

AddReference() 공개 메소드

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

BindReferenceData() 보호된 추상적인 메소드

protected abstract BindReferenceData ( ) : void
리턴 void

CanAddReference() 보호된 메소드

Validates that a reference can be added.
protected CanAddReference ( CannotAddReferenceErrorMessage &errorHandler ) : bool
errorHandler CannotAddReferenceErrorMessage A CannotAddReferenceErrorMessage delegate to show the error message.
리턴 bool

CanDeleteItem() 보호된 메소드

protected CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool
deleteOperation __VSDELETEITEMOPERATION
리턴 bool

CreatePropertiesObject() 보호된 메소드

protected CreatePropertiesObject ( ) : NodeProperties
리턴 NodeProperties

ExcludeFromProject() 보호된 메소드

Not supported.
protected ExcludeFromProject ( ) : int
리턴 int

ExecCommandOnNode() 보호된 메소드

protected ExecCommandOnNode ( System.Guid cmdGroup, uint cmd, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
cmdGroup System.Guid
cmd uint
nCmdexecopt Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT
pvaIn System.IntPtr
pvaOut System.IntPtr
리턴 int

GetAutomationObject() 공개 메소드

Get an instance of the automation object for ReferenceNode
public GetAutomationObject ( ) : object
리턴 object

GetEditLabel() 공개 메소드

Disable inline editing of Caption of a ReferendeNode
public GetEditLabel ( ) : string
리턴 string

GetIconHandle() 공개 메소드

public GetIconHandle ( bool open ) : object
open bool
리턴 object

GetMKDocument() 공개 메소드

This method is called by the interface method GetMkDocument to specify the item moniker.
public GetMKDocument ( ) : string
리턴 string

IsAlreadyAdded() 보호된 메소드

Checks if a reference is already added. The method parses all references and compares the Url.
protected IsAlreadyAdded ( ) : bool
리턴 bool

IsAlreadyAdded() 공개 메소드

Checks if a reference is already added. The method parses all references and compares the Url.
public IsAlreadyAdded ( ReferenceNode &existingEquivalentNode ) : bool
existingEquivalentNode ReferenceNode The existing reference, if one is found.
리턴 bool

PrepareSelectedNodesForClipboard() 공개 메소드

References node cannot be dragged.
public PrepareSelectedNodesForClipboard ( ) : StringBuilder
리턴 StringBuilder

QueryStatusOnNode() 보호된 메소드

protected QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, IntPtr pCmdText, EnvDTE.vsCommandStatus &result ) : int
cmdGroup System.Guid
cmd uint
pCmdText System.IntPtr
result EnvDTE.vsCommandStatus
리턴 int

ReferenceNode() 보호된 메소드

constructor for the ReferenceNode
protected ReferenceNode ( ProjectNode root ) : System
root ProjectNode
리턴 System

ReferenceNode() 보호된 메소드

constructor for the ReferenceNode
protected ReferenceNode ( ProjectNode root, ProjectElement element ) : System
root ProjectNode
element ProjectElement
리턴 System

RefreshReference() 공개 메소드

Refreshes a reference by re-resolving it and redrawing the icon.
public RefreshReference ( ) : void
리턴 void

ResolveReference() 보호된 메소드

Resolves references.
protected ResolveReference ( ) : void
리턴 void

ShowObjectBrowser() 보호된 메소드

Shows the Object Browser
protected ShowObjectBrowser ( ) : int
리턴 int