Initializes a new instance of OAReferenceBase<RefType> for the supplied ReferenceNode.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Sub New ( _
referenceNode As RefType _
)
'使用
Dim referenceNode As RefType
Dim instance As New OAReferenceBase(referenceNode)
public OAReferenceBase(
RefType referenceNode
)
public:
OAReferenceBase(
RefType referenceNode
)
public function OAReferenceBase(
referenceNode : RefType
)
Parameters
referenceNode
Type: RefTypeThe ReferenceNode for which to construct the automation object.
Remarks
ReferenceNode is an abstract class with at least three derived classes: [T:Microsoft.VisualStudio.Package.AssemblyReferenceNode, T:Microsoft.VisualStudio.Package.ComReferenceNode,] and ProjectReferenceNode.
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.
See Also
Reference
OAReferenceBase<RefType> Class