Share via


CommandAttribute.CommandModelType Property

Gets the Command Model Type for this command.
The Command Model Type will be used at runtime to display and execute the command.
Command Model Types should derive from the CommandModel class in the Configuration.Design assembly.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
Public ReadOnly Property CommandModelType As Type
public Type CommandModelType { get; }
public:
property Type^ CommandModelType {
    Type^ get ();
}
public function get CommandModelType () : Type

See Also

CommandAttribute Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace