ISchemaModelViewerController.DeleteObjects Method

Deletes the specified list of model element nodes.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Sub DeleteObjects ( _
    elementNodes As IList(Of ISchemaModelViewerElementNode), _
    <OutAttribute> ByRef errorResults As IList(Of Tuple) _
)
void DeleteObjects(
    IList<ISchemaModelViewerElementNode> elementNodes,
    out IList<Tuple> errorResults
)
void DeleteObjects(
    IList<ISchemaModelViewerElementNode^>^ elementNodes, 
    [OutAttribute] IList<Tuple^>^% errorResults
)
abstract DeleteObjects : 
        elementNodes:IList<ISchemaModelViewerElementNode> * 
        errorResults:IList<Tuple> byref -> unit 
function DeleteObjects(
    elementNodes : IList<ISchemaModelViewerElementNode>, 
    errorResults : IList<Tuple>
)

Parameters

Remarks

The represented model objects are also deleted from the project. This method calls CanDeleteObjects and GetAdditionalObjectsToDelete.

.NET Framework Security

See Also

Reference

ISchemaModelViewerController Interface

ISchemaModelViewerController Members

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