Initializes a new instance of the FileNode class 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 file.
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 FileNode(root, e)
public FileNode(
ProjectNode root,
ProjectElement e
)
public:
FileNode(
ProjectNode^ root,
ProjectElement^ e
)
public function FileNode(
root : ProjectNode,
e : ProjectElement
)
Parameters
root
Type: Microsoft.VisualStudio.Package.ProjectNodeThe ProjectNode that is the root of the project hierarchy.
e
Type: Microsoft.VisualStudio.Package.ProjectElementThe ProjectElement 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.