Initializes a new instance of the AssemblyReferenceNode class for a given project root (for example, the root node of a project in Solution Explorer) and a given project element that represents the build item for the assembly.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Sub New ( _
root As ProjectNode, _
e As ProjectElement _
)
'使用
Dim root As ProjectNode
Dim e As ProjectElement
Dim instance As New AssemblyReferenceNode(root, e)
public AssemblyReferenceNode(
ProjectNode root,
ProjectElement e
)
public:
AssemblyReferenceNode(
ProjectNode^ root,
ProjectElement^ e
)
public function AssemblyReferenceNode(
root : ProjectNode,
e : ProjectElement
)
Parameters
root
Type: Microsoft.VisualStudio.Package.ProjectNodeThe project node that is the root of the project hierarchy.
e
Type: Microsoft.VisualStudio.Package.ProjectElementThe project element that is the project item node.
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.