Intersoft ClientUI Documentation
RoutedCommand Constructor(String,Type)
See Also  Send Feedback
Intersoft.Client.Framework.Input Namespace > RoutedCommand Class > RoutedCommand Constructor : RoutedCommand Constructor(String,Type)






name
Declared name for serialization.
ownerType
The type which is registering the command.
Initializes a new instance of the RoutedCommand class with the specified name and owner type.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal ownerType As Type _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim ownerType As Type
 
Dim instance As New RoutedCommand(name, ownerType)
C# 
public RoutedCommand( 
   string name,
   Type ownerType
)
Delphi 
public RoutedCommand( 
    name: String;
    ownerType: Type
); 
JScript 
public function RoutedCommand( 
   name : String,
   ownerType : Type
);
Managed Extensions for C++ 
public: RoutedCommand( 
   string* name,
   Type* ownerType
)
C++/CLI 
public:
RoutedCommand( 
   String^ name,
   Type^ ownerType
)

Parameters

name
Declared name for serialization.
ownerType
The type which is registering the command.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.