Share via


ItemAddedEventArgs.GetParentNode Method

Gets the parent node for the new node.

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

Syntax

'Declaration
Public Function GetParentNode ( _
    <OutAttribute> ByRef node As IDatabaseNode _
) As Boolean
'Usage
Dim instance As ItemAddedEventArgs
Dim node As IDatabaseNode
Dim returnValue As Boolean

returnValue = instance.GetParentNode(node)
public bool GetParentNode(
    out IDatabaseNode node
)
public:
bool GetParentNode(
    [OutAttribute] IDatabaseNode^% node
)
public function GetParentNode(
    node : IDatabaseNode
) : boolean
member GetParentNode : 
        node:IDatabaseNode -> bool 

Parameters

Return Value

Type: System.Boolean
Returns true if the parent node still exists in the Solution Explorer, false otherwise.

.NET Framework Security

See Also

Reference

ItemAddedEventArgs Class

ItemAddedEventArgs Members

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