Adds an existing project as a nested node of the hierarchy. It is used while loading the project or to add an existing project to the hierarchy.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Friend Overridable Function AddExistingNestedProject ( _
element As ProjectElement, _
creationFlags As __VSCREATEPROJFLAGS _
) As NestedProjectNode
'使用
Dim element As ProjectElement
Dim creationFlags As __VSCREATEPROJFLAGS
Dim returnValue As NestedProjectNode
returnValue = Me.AddExistingNestedProject(element, _
creationFlags)
protected internal virtual NestedProjectNode AddExistingNestedProject(
ProjectElement element,
__VSCREATEPROJFLAGS creationFlags
)
protected public:
virtual NestedProjectNode^ AddExistingNestedProject(
ProjectElement^ element,
__VSCREATEPROJFLAGS creationFlags
)
protected internal function AddExistingNestedProject(
element : ProjectElement,
creationFlags : __VSCREATEPROJFLAGS
) : NestedProjectNode
Parameters
element
Type: Microsoft.VisualStudio.Package.ProjectElementThe project to add.
creationFlags
Type: Microsoft.VisualStudio.Shell.Interop.__VSCREATEPROJFLAGS__VSCREATEPROJFLAGS describing the action(s) to be taken.
Return Value
Type: Microsoft.VisualStudio.Package.NestedProjectNode
The created NestedProjectNode.
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.