Partager via


RolePlayerMenuCommand.DoCommand Method

When overridden in a derived class, executes the command.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Déclaration
Public MustOverride Sub DoCommand
public abstract void DoCommand()
public:
virtual void DoCommand() abstract
abstract DoCommand : unit -> unit 
public abstract function DoCommand()

Remarks

When the user selects the command in the value list for the role property, the DSL Tools call this method.

Notes to Inheritors

Visual Studio catches any exception thrown from this method and displays a message that the value cannot be changed.

.NET Framework Security

See Also

Reference

RolePlayerMenuCommand Class

Microsoft.VisualStudio.Modeling.Design Namespace