CommandMethodAttribute Class

Autodesk.AutoCAD.Runtime.CommandMethodAttribute
Visual Basic
Public sealed Class CommandMethodAttribute
Inherits Attribute
Inherits ICommandLineCallable
C#
public sealed class CommandMethodAttribute : Attribute, ICommandLineCallable;
Description

This class marks an instance or static function as a command. Command methods may be defined only in a class that is marked with the CommandClass attribute.

Links