SchemaViewControllerBase.CanBeDisplayed Method
Returns whether the argument model element is able to be displayed in the schema view.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Overridable Function CanBeDisplayed ( _
modelElement As IModelElement _
) As Boolean
'Usage
Dim instance As SchemaViewControllerBase
Dim modelElement As IModelElement
Dim returnValue As Boolean
returnValue = instance.CanBeDisplayed(modelElement)
public virtual bool CanBeDisplayed(
IModelElement modelElement
)
public:
virtual bool CanBeDisplayed(
IModelElement^ modelElement
)
public function CanBeDisplayed(
modelElement : IModelElement
) : boolean
abstract CanBeDisplayed :
modelElement:IModelElement -> bool
override CanBeDisplayed :
modelElement:IModelElement -> bool
Parameters
- modelElement
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element
Return Value
Type: System.Boolean
Returns true if the argument model element is able to be displayed, false otherwise.
Implements
ISchemaViewController.CanBeDisplayed(IModelElement)
.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
SchemaViewControllerBase Class
SchemaViewControllerBase Members
Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows Namespace