Share via


ISchemaModelViewerController.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
Function CanBeDisplayed ( _
    modelElement As IModelElement _
) As Boolean
bool CanBeDisplayed(
    IModelElement modelElement
)
bool CanBeDisplayed(
    IModelElement^ modelElement
)
abstract CanBeDisplayed : 
        modelElement:IModelElement -> bool 
function CanBeDisplayed(
    modelElement : IModelElement
) : boolean

Parameters

Return Value

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

Remarks

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

.NET Framework Security

See Also

Reference

ISchemaModelViewerController Interface

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