Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Locates a command binding for the command and executes it.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub Execute ( _
data As GestureData _
)
public void Execute(
GestureData data
)
public:
void Execute(
GestureData^ data
)
member Execute :
data:GestureData -> unit
public function Execute(
data : GestureData
)
Parameters
- data
Type: Microsoft.Windows.Design.Interaction.GestureData
The gesture data that is to be passed to the command. Gesture data is required as it provides a context object from which the Execute method can locate the active tool.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | data is nulla null reference (Nothing in Visual Basic). |
| ArgumentException | data.Context 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