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
- elementNodes
Type: System.Collections.Generic.IList<ISchemaModelViewerElementNode>
List of model element nodes to check whether they can be deleted.
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
- 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
SchemaModelViewerControllerBase Class
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace