ClosedCaptionTheme.GetSelectedTheme Method

Definition

Gets the currently selected closed caption theme.

public:
 static ClosedCaptionTheme ^ GetSelectedTheme();
 static ClosedCaptionTheme GetSelectedTheme();
public static ClosedCaptionTheme GetSelectedTheme();
function getSelectedTheme()
Public Shared Function GetSelectedTheme () As ClosedCaptionTheme

Returns

A ClosedCaptionTheme object representing the currently selected theme at the time of the call.

Remarks

The returned object is a snapshot and is not updated if the selected theme changes after this method is called. Subscribe to SelectedThemeChanged to detect changes.

Applies to