Initializes a new instance of ProjectReferenceNode with the supplied project root and information from a VSCOMPONENTSELECTORDATA structure.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Sub New ( _
root As ProjectNode, _
referencedProjectName As String, _
projectPath As String, _
projectReference As String _
)
'使用
Dim root As ProjectNode
Dim referencedProjectName As String
Dim projectPath As String
Dim projectReference As String
Dim instance As New ProjectReferenceNode(root, referencedProjectName, _
projectPath, projectReference)
public ProjectReferenceNode(
ProjectNode root,
string referencedProjectName,
string projectPath,
string projectReference
)
public:
ProjectReferenceNode(
ProjectNode^ root,
String^ referencedProjectName,
String^ projectPath,
String^ projectReference
)
public function ProjectReferenceNode(
root : ProjectNode,
referencedProjectName : String,
projectPath : String,
projectReference : String
)
Parameters
root
Type: Microsoft.VisualStudio.Package.ProjectNodeThe project root.
referencedProjectName
Type: System.StringThe title of the project.
projectPath
Type: System.StringThe path of the project.
projectReference
Type: System.StringThe project reference.
Remarks
This constructor is called from [M:Microsoft.VisualStudio.Package.ReferenceContainerNode.CreateProjectReferenceNode(T:Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA selectorData)].
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.