Initializes a new instance of ComReferenceNode for a given project root (for example, the root node of a project in the Solution Explorer) and a given project element, which represents the build item for the COM component.
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 ComReferenceNode(root, e)
public ComReferenceNode(
ProjectNode root,
ProjectElement e
)
public:
ComReferenceNode(
ProjectNode^ root,
ProjectElement^ e
)
public function ComReferenceNode(
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.