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
- modelElement
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element that is queried.
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
- 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
SchemaModelViewerControllerBase Class
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace