共用方式為


ModelElement.Delete Method

Include Protected Members
Include Inherited Members

Deletes the element from the model.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Delete() Deletes an element from the model.
Public method Delete(array<Guid[]) Deletes an element from the model.

Top

See Also

Reference

ModelElement Class

Microsoft.VisualStudio.Modeling Namespace

Other Resources

How to: Delete Elements and Links Programmatically