SchemaModelViewerControllerBase.GetAdditionalObjectsToDelete Method
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
Public Overridable Function GetAdditionalObjectsToDelete ( _
element As IModelElement _
) As IList(Of IScriptSourcedModelElement)
public virtual IList<IScriptSourcedModelElement> GetAdditionalObjectsToDelete(
IModelElement element
)
public:
virtual IList<IScriptSourcedModelElement^>^ GetAdditionalObjectsToDelete(
IModelElement^ element
)
abstract GetAdditionalObjectsToDelete :
element:IModelElement -> IList<IScriptSourcedModelElement>
override GetAdditionalObjectsToDelete :
element:IModelElement -> IList<IScriptSourcedModelElement>
public 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 also be deleted.
Implements
ISchemaModelViewerController.GetAdditionalObjectsToDelete(IModelElement)
.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
SchemaModelViewerControllerBase Class
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace