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
- node
Type: Microsoft.VisualStudio.Data.Schema.Project.Project.IDatabaseNode%
The parent node, or null if the parent has since been deleted from the Solution Explorer
Return Value
Type: System.Boolean
Returns true if the parent node still exists in the Solution Explorer, false otherwise.
.NET Framework Security
- 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
Microsoft.VisualStudio.Data.Schema.Project.Project Namespace