SchemaHierarchyUtilities.GetOwningElementNode Method
Returns the closest model node that contains a store element.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Shared Function GetOwningElementNode ( _
node As ISchemaModelViewerNode _
) As ISchemaModelViewerElementNode
public static ISchemaModelViewerElementNode GetOwningElementNode(
ISchemaModelViewerNode node
)
public:
static ISchemaModelViewerElementNode^ GetOwningElementNode(
ISchemaModelViewerNode^ node
)
static member GetOwningElementNode :
node:ISchemaModelViewerNode -> ISchemaModelViewerElementNode
public static function GetOwningElementNode(
node : ISchemaModelViewerNode
) : ISchemaModelViewerElementNode
Parameters
- node
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerNode
The node for whose parent a search is initiated.
Return Value
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerElementNode
Model node, or nulla null reference (Nothing in Visual Basic) if no model node is found.
.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
SchemaHierarchyUtilities Class
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace