Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Delete() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void Delete() |
Managed Extensions for C++ | |
---|---|
public: virtual void Delete(); |
C++/CLI | |
---|---|
public: virtual void Delete(); |
For an example, refer to CanDelete.
AnnAutomation can delete one or more AnnObject if they are currently in edit mode (selected) and these objects are not locked.
Use the CanDelete property to update the user interface of your application (for example, enabling or disabling an Edit/Delete menu item).
For information on undoing or redoing automation operations, refer to Undoing Automation Operations.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family