Share via


Windows Media Player 11 SDK THEME.loadPreference 

Windows Media Player SDK banner art

Previous Next

THEME.loadPreference

The loadPreference method loads a preference from the registry.

Syntax

  

Parameters

  theKey

A String specifying the key of the preference value to load.

Return Values

This method returns a String.

Remarks

A preference is a key/value pair that can be stored in the registry in order to retain information about the state of the Windows Media Player between runs. This feature can be used, for example, to save customization settings so that they won't have to be re-entered each time Windows Media Player is started.

Preferences are not encrypted and therefore are not a secure method for persisting data. Do not use preferences to store private data.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next