Share via


BooleanChoice.ValidateOptionList Method

Validates that the given Options list is acceptable for this Choice object (for BooleanChoice, the list must contain exactly two items). If not, an exception will be thrown.

Syntax

  protected void ValidateOptionList(
  System.Collections.IList  
  potentialOptions
);

Parameters

potentialOptions

System.Collections.IList.  The list to validate.

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