Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- modelElement
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
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
- 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