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
- elementNodes
Type: System.Collections.Generic.IList<IDatabaseSchemaViewElementNode>
The list of model element nodes to check
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
- 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
ISchemaViewController Interface
Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows.DatabaseSchemaView Namespace