ClosedCaptionTheme.TrySetSelectedTheme(ClosedCaptionTheme) Method

Definition

Sets the specified theme as the currently selected closed caption theme for the current user.

public:
 static bool TrySetSelectedTheme(ClosedCaptionTheme ^ value);
 static bool TrySetSelectedTheme(ClosedCaptionTheme const& value);
public static bool TrySetSelectedTheme(ClosedCaptionTheme value);
function trySetSelectedTheme(value)
Public Shared Function TrySetSelectedTheme (value As ClosedCaptionTheme) As Boolean

Parameters

value
ClosedCaptionTheme

The ClosedCaptionTheme to set as the selected theme.

Returns

Boolean

bool

true if the theme was successfully set; otherwise, false. A return value of false may indicate that the specified theme is no longer available.

Applies to