The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
RoutedUICommand Constructor (String^, String^, Type^)
.NET Framework (current version)
Initializes a new instance of the RoutedUICommand class, using the specified descriptive text, declared name, and owner type.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- text
-
Type:
System::String^
Descriptive text for the command.
- name
-
Type:
System::String^
The declared name of the command for serialization.
- ownerType
-
Type:
System::Type^
The type that is registering the command.
| Exception | Condition |
|---|---|
| ArgumentNullException | text is null. |
| ArgumentNullException | name is null. |
| ArgumentException | The length of name is zero. |
| ArgumentException | ownerType is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: