Choice.GetIndexOfOption Method

Gets the index of the selected option in the Options array.

Syntax

  protected int GetIndexOfOption(
  object  
  option
);

Parameters

option

System.Object.  The option to retrieve.

Return Value

System.Int32.  The index of the selected option. A value of -1 indicates that the option was not found.

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