DocumentCommand Class Reference

//---a concrete command public class SyncCommand : DocumentCommand { ---command name public const string NAME = "ACMX_DMSYNC"; ---declaration of command method [Adr.CommandMethodAttribute(NAME, Adr.CommandFlags.Transparent)] public void Command() { using (Adb.Transaction ta = Document.TransactionManager.StartTransaction()) { Document.SetProperty("prop1name", "prop1value"); ta.Commit(); } } } More...

Inheritance diagram for DocumentCommand:

IDocumentCommand List of all members.

Properties

IApplication Application
 Application.
IDocument Document
 Document.

Detailed Description

//---a concrete command public class SyncCommand : DocumentCommand { ---command name public const string NAME = "ACMX_DMSYNC"; ---declaration of command method [Adr.CommandMethodAttribute(NAME, Adr.CommandFlags.Transparent)] public void Command() { using (Adb.Transaction ta = Document.TransactionManager.StartTransaction()) { Document.SetProperty("prop1name", "prop1value"); ta.Commit(); } } }


Property Documentation

IApplication Application [get]
 

Application.

Implements IDocumentCommand.

IDocument Document [get]
 

Document.

Implements IDocumentCommand.


Generated on Sun May 28 08:56:22 2006 for Acmx.AcadConnectivity documentation by  doxygen 1.4.5