Freigeben über


ContentDiscoveryReset method

Resets the list of feeds, search providers, and Web Slices associated with the page.

This method is not supported for Windows apps using JavaScript.

 

Syntax

HRESULT retVal = object.ContentDiscoveryReset();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

Remarks

If a client application dynamically adds or updates link elements for search providers and feeds, or modifies Web Slices in the page, it should also call IShellUIHelper3::ContentDiscoveryReset to parse the document again. This action causes Windows Internet Explorer to reload the list of feeds and Web Slices in the Feed Discovery button, and to add search providers to the Instant Search drop-down list box.