Delen via


SchemaModelViewerControllerBaseInternal.CanBeDisplayed Method

Returns whether the specified model element can be displayed in the 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 Overrides Function CanBeDisplayed ( _
    modelElement As IModelElement _
) As Boolean
public override bool CanBeDisplayed(
    IModelElement modelElement
)
public:
virtual bool CanBeDisplayed(
    IModelElement^ modelElement
) override
abstract CanBeDisplayed : 
        modelElement:IModelElement -> bool 
override CanBeDisplayed : 
        modelElement:IModelElement -> bool 
public override 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

Note that this returns true if it can be displayed, but the node might not be visible because the Schema View could be virtual.

.NET Framework Security

See Also

Reference

SchemaModelViewerControllerBaseInternal Class

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