Unregisters the specified option.

public static void UnregisterOption( 
string categoryKey
string optionKey 
)

Parameters

categoryKey

Type: string

The unique identifier for this category of options.

optionKey

Type: string

The identifier for this option, which must be unique within the category.

Most option categories are defined by the application. In addition to these pre-registered categories, these option-related script functions can be used to register dynamic categories and option values for use by custom controls are as part of a composite page framework.

See RegisterOption for a comprehensive discussion of dynamic options.