ClosedCaptionTheme.TrySetSelectedTheme(ClosedCaptionTheme) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.