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
- elementNodes
Type: System.Collections.Generic.IList<ISchemaModelViewerElementNode>
- errorResults
Type: System.Collections.Generic.IList<Tuple<T1, T2>>%
Remarks
The represented model objects are also deleted from the project. This method calls CanDeleteObjects and GetAdditionalObjectsToDelete.
.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
ISchemaModelViewerController Members
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace