C# Class Microsoft.VisualStudio.Project.ReferenceContainerNode

Inheritance: HierarchyNode, IReferenceContainer
Afficher le fichier Open project: tunnelvisionlabs/MPFProj10 Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddReferenceFromSelectorData ( VSCOMPONENTSELECTORDATA selectorData ) : ReferenceNode

Adds a reference to this container using the selector data structure to identify it.

AddReferenceFromSelectorData ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool ) : ReferenceNode

Adds a reference to this container using the selector data structure to identify it.

EnumReferences ( ) : IList
GetAutomationObject ( ) : object

Returns an instance of the automation object for ReferenceContainerNode

GetEditLabel ( ) : string

Disable inline editing of Caption of a ReferendeContainerNode

GetIconHandle ( bool open ) : object
LoadReferencesFromBuildProject ( Microsoft.Build.Evaluation buildProject ) : void

Adds references to this container from a MSBuild project.

PrepareSelectedNodesForClipboard ( ) : StringBuilder

References node cannot be dragged.

ReferenceContainerNode ( ProjectNode root ) : System

Méthodes protégées

Méthode Description
CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool
CanShowDefaultIcon ( ) : bool

Defines whether this node is valid node for painting the refererences icon.

CreateAssemblyReferenceNode ( ProjectElement element ) : AssemblyReferenceNode

Creates an assembly refernce node from a project element.

CreateAssemblyReferenceNode ( string fileName ) : AssemblyReferenceNode

Creates an assembly reference node from a file path.

CreateComReferenceNode ( Microsoft selectorData ) : ComReferenceNode

Creates a com reference node from a selector data.

CreateComReferenceNode ( Microsoft selectorData, string wrapperTool ) : ComReferenceNode

Creates a com reference node from a selector data.

CreateComReferenceNode ( ProjectElement reference ) : ComReferenceNode

Creates a com reference node from the project element.

CreateFileComponent ( VSCOMPONENTSELECTORDATA selectorData ) : ReferenceNode

Creates an assemby or com reference node given a selector data.

CreateFileComponent ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool ) : ReferenceNode

Creates an assemby or com reference node given a selector data.

CreateProjectReferenceNode ( ProjectElement element ) : ProjectReferenceNode

Creates a project reference node given an existing project element.

CreateProjectReferenceNode ( VSCOMPONENTSELECTORDATA selectorData ) : ProjectReferenceNode

Create a Project to Project reference given a VSCOMPONENTSELECTORDATA structure

CreateReferenceNode ( VSCOMPONENTSELECTORDATA selectorData ) : ReferenceNode
CreateReferenceNode ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool ) : ReferenceNode
CreateReferenceNode ( string referenceType, ProjectElement element ) : ReferenceNode
ExcludeFromProject ( ) : int

Not supported.

ExecCommandOnNode ( System.Guid cmdGroup, uint cmd, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, IntPtr pCmdText, EnvDTE.vsCommandStatus &result ) : int

Method Details

AddReferenceFromSelectorData() public méthode

Adds a reference to this container using the selector data structure to identify it.
public AddReferenceFromSelectorData ( VSCOMPONENTSELECTORDATA selectorData ) : ReferenceNode
selectorData VSCOMPONENTSELECTORDATA data describing selected component
Résultat ReferenceNode

AddReferenceFromSelectorData() public méthode

Adds a reference to this container using the selector data structure to identify it.
public AddReferenceFromSelectorData ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool ) : ReferenceNode
selectorData VSCOMPONENTSELECTORDATA data describing selected component
wrapperTool string
Résultat ReferenceNode

CanDeleteItem() protected méthode

protected CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool
deleteOperation __VSDELETEITEMOPERATION
Résultat bool

CanShowDefaultIcon() protected méthode

Defines whether this node is valid node for painting the refererences icon.
protected CanShowDefaultIcon ( ) : bool
Résultat bool

CreateAssemblyReferenceNode() protected méthode

Creates an assembly refernce node from a project element.
protected CreateAssemblyReferenceNode ( ProjectElement element ) : AssemblyReferenceNode
element ProjectElement
Résultat AssemblyReferenceNode

CreateAssemblyReferenceNode() protected méthode

Creates an assembly reference node from a file path.
protected CreateAssemblyReferenceNode ( string fileName ) : AssemblyReferenceNode
fileName string
Résultat AssemblyReferenceNode

CreateComReferenceNode() protected méthode

Creates a com reference node from a selector data.
protected CreateComReferenceNode ( Microsoft selectorData ) : ComReferenceNode
selectorData Microsoft
Résultat ComReferenceNode

CreateComReferenceNode() protected méthode

Creates a com reference node from a selector data.
protected CreateComReferenceNode ( Microsoft selectorData, string wrapperTool ) : ComReferenceNode
selectorData Microsoft
wrapperTool string
Résultat ComReferenceNode

CreateComReferenceNode() protected méthode

Creates a com reference node from the project element.
protected CreateComReferenceNode ( ProjectElement reference ) : ComReferenceNode
reference ProjectElement
Résultat ComReferenceNode

CreateFileComponent() protected méthode

Creates an assemby or com reference node given a selector data.
protected CreateFileComponent ( VSCOMPONENTSELECTORDATA selectorData ) : ReferenceNode
selectorData VSCOMPONENTSELECTORDATA
Résultat ReferenceNode

CreateFileComponent() protected méthode

Creates an assemby or com reference node given a selector data.
protected CreateFileComponent ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool ) : ReferenceNode
selectorData VSCOMPONENTSELECTORDATA
wrapperTool string
Résultat ReferenceNode

CreateProjectReferenceNode() protected méthode

Creates a project reference node given an existing project element.
protected CreateProjectReferenceNode ( ProjectElement element ) : ProjectReferenceNode
element ProjectElement
Résultat ProjectReferenceNode

CreateProjectReferenceNode() protected méthode

Create a Project to Project reference given a VSCOMPONENTSELECTORDATA structure
protected CreateProjectReferenceNode ( VSCOMPONENTSELECTORDATA selectorData ) : ProjectReferenceNode
selectorData VSCOMPONENTSELECTORDATA
Résultat ProjectReferenceNode

CreateReferenceNode() protected méthode

protected CreateReferenceNode ( VSCOMPONENTSELECTORDATA selectorData ) : ReferenceNode
selectorData VSCOMPONENTSELECTORDATA
Résultat ReferenceNode

CreateReferenceNode() protected méthode

protected CreateReferenceNode ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool ) : ReferenceNode
selectorData VSCOMPONENTSELECTORDATA
wrapperTool string
Résultat ReferenceNode

CreateReferenceNode() protected méthode

protected CreateReferenceNode ( string referenceType, ProjectElement element ) : ReferenceNode
referenceType string
element ProjectElement
Résultat ReferenceNode

EnumReferences() public méthode

public EnumReferences ( ) : IList
Résultat IList

ExcludeFromProject() protected méthode

Not supported.
protected ExcludeFromProject ( ) : int
Résultat int

ExecCommandOnNode() protected méthode

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

GetAutomationObject() public méthode

Returns an instance of the automation object for ReferenceContainerNode
public GetAutomationObject ( ) : object
Résultat object

GetEditLabel() public méthode

Disable inline editing of Caption of a ReferendeContainerNode
public GetEditLabel ( ) : string
Résultat string

GetIconHandle() public méthode

public GetIconHandle ( bool open ) : object
open bool
Résultat object

LoadReferencesFromBuildProject() public méthode

Adds references to this container from a MSBuild project.
public LoadReferencesFromBuildProject ( Microsoft.Build.Evaluation buildProject ) : void
buildProject Microsoft.Build.Evaluation
Résultat void

PrepareSelectedNodesForClipboard() public méthode

References node cannot be dragged.
public PrepareSelectedNodesForClipboard ( ) : StringBuilder
Résultat StringBuilder

QueryStatusOnNode() protected méthode

protected QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, IntPtr pCmdText, EnvDTE.vsCommandStatus &result ) : int
cmdGroup System.Guid
cmd uint
pCmdText System.IntPtr
result EnvDTE.vsCommandStatus
Résultat int

ReferenceContainerNode() public méthode

public ReferenceContainerNode ( ProjectNode root ) : System
root ProjectNode
Résultat System