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
- node
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseNode%
The parent node.
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
- 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.Package.Project Namespace