ComponentOne Basic Library for WPF and Silverlight
C1Command Constructor(String,Type)


C1.Silverlight Namespace > C1Command Class > C1Command Constructor : C1Command Constructor(String,Type)
Declared name for serialization.
The type which is registering the command.
Initializes a new instance of the C1Command class with the specified name and owner type.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As System.String, _
   ByVal ownerType As System.Type _
)
'Usage
 
Dim name As System.String
Dim ownerType As System.Type
 
Dim instance As New C1Command(name, ownerType)
public C1Command( 
   System.string name,
   System.Type ownerType
)

Parameters

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

Reference

C1Command Class
C1Command Members
Overload List