SchemaModelViewerControllerBase.CanDeleteObjects Method

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

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 CanDeleteObjects ( _
    elementNodes As IList(Of ISchemaModelViewerElementNode) _
) As Boolean
public virtual bool CanDeleteObjects(
    IList<ISchemaModelViewerElementNode> elementNodes
)
public:
virtual bool CanDeleteObjects(
    IList<ISchemaModelViewerElementNode^>^ elementNodes
)
abstract CanDeleteObjects : 
        elementNodes:IList<ISchemaModelViewerElementNode> -> bool 
override CanDeleteObjects : 
        elementNodes:IList<ISchemaModelViewerElementNode> -> bool 
public function CanDeleteObjects(
    elementNodes : IList<ISchemaModelViewerElementNode>
) : boolean

Parameters

Return Value

Type: System.Boolean
true if all objects can be deleted; otherwise, false.

Implements

ISchemaModelViewerController.CanDeleteObjects(IList<ISchemaModelViewerElementNode>)

Remarks

This is an all-or-nothing check.

.NET Framework Security

See Also

Reference

SchemaModelViewerControllerBase Class

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace