Command Constructor
Initializes a new instance of the Command class.
Overload List
public Command()
public Command(IModelItemOwner)
public Command(IModelItemOwner, EventHandler)
public Command(IModelItemOwner, string, EventHandler)
Command.Command Constructor
Initializes a new instance of the Command class.
public Command();
Command.Command Constructor
Initializes a new instance of the Command class.
public Command(
IModelItemOwner
owner
);
Parameters
owner
Microsoft.MediaCenter.UI.IModelItemOwner. The owner of the ModelItem.
Command.Command Constructor
Initializes a new instance of the Command class.
public Command(
IModelItemOwner
owner
,
EventHandler invokedHandler
);
Parameters
owner
Microsoft.MediaCenter.UI.IModelItemOwner. The owner of the ModelItem.
invokedHandler
System.EventHandler. An event handler for this object.
Command.Command Constructor
Initializes a new instance of the Command class.
public Command(
IModelItemOwner
owner
,
string description,
EventHandler invokedHandler
);
Parameters
owner
Microsoft.MediaCenter.UI.IModelItemOwner. The owner of the ModelItem.
description
System.String. The description of the object.
invokedHandler
System.EventHandler. An event handler for this object.
Requirements
Reference: Microsoft.MediaCenter.UI
Namespace: Microsoft.MediaCenter.UI
Assembly: Microsoft.MediaCenter.UI.dll
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also