SchemaModelViewerControllerBase.CanBeDisplayed Method

Indicates whether the specified model element can be displayed in Schema View.

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

Syntax

'Declaration
Public Overridable Function CanBeDisplayed ( _
    modelElement As IModelElement _
) As Boolean
public virtual bool CanBeDisplayed(
    IModelElement modelElement
)
public:
virtual bool CanBeDisplayed(
    IModelElement^ modelElement
)
abstract CanBeDisplayed : 
        modelElement:IModelElement -> bool 
override CanBeDisplayed : 
        modelElement:IModelElement -> bool 
public function CanBeDisplayed(
    modelElement : IModelElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the controller can display this model element.

Implements

ISchemaModelViewerController.CanBeDisplayed(IModelElement)

Remarks

This returns true if it can be displayed, but the node might not yet be displayed because Schema View is virtual.

.NET Framework Security

See Also

Reference

SchemaModelViewerControllerBase Class

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