Share via


ISchemaViewController.CanDeleteObjects Method

Returns whether the list of model element nodes can be deleted.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows.DatabaseSchemaView
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Function CanDeleteObjects ( _
    elementNodes As IList(Of IDatabaseSchemaViewElementNode) _
) As Boolean
'Usage
Dim instance As ISchemaViewController
Dim elementNodes As IList(Of IDatabaseSchemaViewElementNode)
Dim returnValue As Boolean

returnValue = instance.CanDeleteObjects(elementNodes)
bool CanDeleteObjects(
    IList<IDatabaseSchemaViewElementNode> elementNodes
)
bool CanDeleteObjects(
    IList<IDatabaseSchemaViewElementNode^>^ elementNodes
)
function CanDeleteObjects(
    elementNodes : IList<IDatabaseSchemaViewElementNode>
) : boolean
abstract CanDeleteObjects : 
        elementNodes:IList<IDatabaseSchemaViewElementNode> -> bool 

Parameters

Return Value

Type: System.Boolean
Returns true if all objects can be deleted, false if any of the objects cannot be deleted.

.NET Framework Security

See Also

Reference

ISchemaViewController Interface

ISchemaViewController Members

Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows.DatabaseSchemaView Namespace