ISchemaViewController.DeleteObjects Method
Deletes a given list of model element nodes.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows.DatabaseSchemaView
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Sub DeleteObjects ( _
elementNodes As IList(Of IDatabaseSchemaViewElementNode), _
<OutAttribute> ByRef errorResults As IList(Of Tuple(Of String, String)) _
)
'Usage
Dim instance As ISchemaViewController
Dim elementNodes As IList(Of IDatabaseSchemaViewElementNode)
Dim errorResults As IList(Of Tuple(Of String, String))
instance.DeleteObjects(elementNodes, _
errorResults)
void DeleteObjects(
IList<IDatabaseSchemaViewElementNode> elementNodes,
out IList<Tuple<string, string>> errorResults
)
void DeleteObjects(
IList<IDatabaseSchemaViewElementNode^>^ elementNodes,
[OutAttribute] IList<Tuple<String^, String^>>^% errorResults
)
function DeleteObjects(
elementNodes : IList<IDatabaseSchemaViewElementNode>,
errorResults : IList<Tuple<String, String>>
)
abstract DeleteObjects :
elementNodes:IList<IDatabaseSchemaViewElementNode> *
errorResults:IList<Tuple<string, string>> -> unit
Parameters
- elementNodes
Type: System.Collections.Generic.IList<IDatabaseSchemaViewElementNode>
The list of model element nodes to delete
- errorResults
Type: System.Collections.Generic.IList<Tuple<String, String>>%
A resulting list of files with associated errors, which are not updated or deleted
Remarks
The UI displays an errorResults message containing the list of files/errors. If no errors occurred, the parameter value is null.
.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
ISchemaViewController Interface
Microsoft.VisualStudio.Data.Schema.Project.Project.ToolWindows.DatabaseSchemaView Namespace