SchemaModelViewerControllerBaseInternal.GetModelElement Method

Returns the model element that this node represents or under which it is a node.

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

Syntax

'Declaration
Public Function GetModelElement ( _
    node As ISchemaModelViewerNode _
) As IModelElement
public IModelElement GetModelElement(
    ISchemaModelViewerNode node
)
public:
IModelElement^ GetModelElement(
    ISchemaModelViewerNode^ node
)
member GetModelElement : 
        node:ISchemaModelViewerNode -> IModelElement 
public function GetModelElement(
    node : ISchemaModelViewerNode
) : IModelElement

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element that this node represents or of which it is a child. Null if it cannot be determined.

.NET Framework Security

See Also

Reference

SchemaModelViewerControllerBaseInternal Class

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