Creates a new instance of an AssemblyReferenceNode by passing in the root node and the path of the assembly that is being referenced.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Sub New ( _
root As ProjectNode, _
assemblyPath As String _
)
'使用
Dim root As ProjectNode
Dim assemblyPath As String
Dim instance As New AssemblyReferenceNode(root, assemblyPath)
public AssemblyReferenceNode(
ProjectNode root,
string assemblyPath
)
public:
AssemblyReferenceNode(
ProjectNode^ root,
String^ assemblyPath
)
public function AssemblyReferenceNode(
root : ProjectNode,
assemblyPath : String
)
Parameters
root
Type: Microsoft.VisualStudio.Package.ProjectNodeThe ProjectNode that is the root of the hierarchy.
assemblyPath
Type: System.StringThe path of the referenced assembly. The assemblyPath variable can be an actual path on disk or a generic assembly name.
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.