ISchemaModelViewerController.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
Function CanDeleteObjects ( _
elementNodes As IList(Of ISchemaModelViewerElementNode) _
) As Boolean
bool CanDeleteObjects(
IList<ISchemaModelViewerElementNode> elementNodes
)
bool CanDeleteObjects(
IList<ISchemaModelViewerElementNode^>^ elementNodes
)
abstract CanDeleteObjects :
elementNodes:IList<ISchemaModelViewerElementNode> -> bool
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.
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
ISchemaModelViewerController Interface
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace