Initializes a new instance of OAReferences for the supplied reference container node.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Sub New ( _
containerNode As ReferenceContainerNode _
)
'使用
Dim containerNode As ReferenceContainerNode
Dim instance As New OAReferences(containerNode)
public OAReferences(
ReferenceContainerNode containerNode
)
public:
OAReferences(
ReferenceContainerNode^ containerNode
)
public function OAReferences(
containerNode : ReferenceContainerNode
)
Parameters
containerNode
Type: Microsoft.VisualStudio.Package.ReferenceContainerNodeThe corresponding ReferenceContainerNode for the project.
Remarks
This constructor initializes this object as an event source and adds event handlers for the OnChildAdded() and OnChildRemoved() events.
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.