ISchemaModelViewerController.GetAdditionalObjectsToDelete Method
This method is called by DeleteObjects to get additional elements to delete.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function GetAdditionalObjectsToDelete ( _
element As IModelElement _
) As IList(Of IScriptSourcedModelElement)
IList<IScriptSourcedModelElement> GetAdditionalObjectsToDelete(
IModelElement element
)
IList<IScriptSourcedModelElement^>^ GetAdditionalObjectsToDelete(
IModelElement^ element
)
abstract GetAdditionalObjectsToDelete :
element:IModelElement -> IList<IScriptSourcedModelElement>
function GetAdditionalObjectsToDelete(
element : IModelElement
) : IList<IScriptSourcedModelElement>
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
Element to be deleted. This element must not be modified inside this method.
Return Value
Type: System.Collections.Generic.IList<IScriptSourcedModelElement>
Returns elements that are relevant to the specified element and that must be deleted.
.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