Share via


NodeAddedEventArgs.GetParentNode Method

Returns the parent node for the new node.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Function GetParentNode ( _
    <OutAttribute> ByRef node As IDatabaseNode _
) As Boolean
public bool GetParentNode(
    out IDatabaseNode node
)
public:
bool GetParentNode(
    [OutAttribute] IDatabaseNode^% node
)
member GetParentNode : 
        node:IDatabaseNode byref -> bool 
public function GetParentNode(
    node : IDatabaseNode
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the parent still exists in Solution Explorer.

Remarks

If null is returned, the parent has already been deleted from Solution Explorer.

.NET Framework Security

See Also

Reference

NodeAddedEventArgs Class

Microsoft.VisualStudio.Data.Schema.Package.Project Namespace