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
- 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.
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
- 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
ISchemaModelViewerController Interface
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace