ToolCommandBinding Constructor (ToolCommand)
Initializes a new instance of the ToolCommandBinding class.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
command As ToolCommand _
)
public ToolCommandBinding(
ToolCommand command
)
public:
ToolCommandBinding(
ToolCommand^ command
)
new :
command:ToolCommand -> ToolCommandBinding
public function ToolCommandBinding(
command : ToolCommand
)
Parameters
- command
Type: Microsoft.Windows.Design.Interaction.ToolCommand
The command to bind.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | command is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace