Initializes a new instance of OAProjectItem<T> for the supplied project and hierarchy node.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Sub New ( _
proj As OAProject, _
node As T _
)
'使用
Dim proj As OAProject
Dim node As T
Dim instance As New OAProjectItem(proj, node)
public OAProjectItem(
OAProject proj,
T node
)
public:
OAProjectItem(
OAProject^ proj,
T node
)
public function OAProjectItem(
proj : OAProject,
node : T
)
Parameters
proj
Type: Microsoft.VisualStudio.Package.Automation.OAProjectThe automation object representing the project.
node
Type: TA HierarchyNode or a class derived from it.
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.