Initializes a new instance of OAFileItem for the specified project and node.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Sub New ( _
proj As OAProject, _
node As FileNode _
)
'使用
Dim proj As OAProject
Dim node As FileNode
Dim instance As New OAFileItem(proj, node)
public OAFileItem(
OAProject proj,
FileNode node
)
public:
OAFileItem(
OAProject^ proj,
FileNode^ node
)
public function OAFileItem(
proj : OAProject,
node : FileNode
)
Parameters
proj
Type: Microsoft.VisualStudio.Package.Automation.OAProjectThe OAProject that owns the item.
node
Type: Microsoft.VisualStudio.Package.FileNodeThe FileNode that the item represents.
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.