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
- node
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.ISchemaModelViewerNode
The node for which to query the model element.
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
- 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
SchemaModelViewerControllerBaseInternal Class
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace