Creates a new instance of a ProjectReferenceNode with the supplied project element.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Overridable Function CreateProjectReferenceNode ( _
element As ProjectElement _
) As ProjectReferenceNode
'使用
Dim element As ProjectElement
Dim returnValue As ProjectReferenceNode
returnValue = Me.CreateProjectReferenceNode(element)
protected virtual ProjectReferenceNode CreateProjectReferenceNode(
ProjectElement element
)
protected:
virtual ProjectReferenceNode^ CreateProjectReferenceNode(
ProjectElement^ element
)
protected function CreateProjectReferenceNode(
element : ProjectElement
) : ProjectReferenceNode
Parameters
element
Type: Microsoft.VisualStudio.Package.ProjectElementThe project element.
Return Value
Type: Microsoft.VisualStudio.Package.ProjectReferenceNode
ProjectReferenceNode if it was possible to construct one; otherwise a null reference (Nothing in Visual Basic).
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
ReferenceContainerNode Members