BooleanChoice Constructor
Initializes a new instance of the BooleanChoice class.
Overload List
public BooleanChoice()
public BooleanChoice(IModelItemOwner)
public BooleanChoice(IModelItemOwner, string)
public BooleanChoice(IModelItemOwner, string, IList)
BooleanChoice.BooleanChoice Constructor
Initializes a new instance of the BooleanChoice class.
public BooleanChoice();
BooleanChoice.BooleanChoice Constructor
Initializes a new instance of the BooleanChoice class.
public BooleanChoice(
IModelItemOwner
owner
);
Parameters
owner
Microsoft.MediaCenter.UI.IModelItemOwner. The owner of the ModelItem.
BooleanChoice.BooleanChoice Constructor
Initializes a new instance of the BooleanChoice class.
public BooleanChoice(
IModelItemOwner
owner
,
string description
);
Parameters
owner
Microsoft.MediaCenter.UI.IModelItemOwner. The owner of the ModelItem.
description
System.String. The description of the object.
BooleanChoice.BooleanChoice Constructor
Initializes a new instance of the BooleanChoice class.
public BooleanChoice(
IModelItemOwner
owner
,
string description,
System.Collections.IList options
);
Parameters
owner
Microsoft.MediaCenter.UI.IModelItemOwner. The owner of the ModelItem.
description
System.String. The description of the object.
options
System.Collections.IList. A list of exactly two options.
Remarks
The first (index 0) options corresponds to false; the second item (index 1) corresponds to true. For example, the BooleanChoice.Value property returns false if item 0 is selected.
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