DevForce Help Reference
Refresh Method


Refreshes main catalog after changes to search or ignore patterns.
Syntax
'Declaration
 
Public Shared Sub Refresh() 
'Usage
 
CompositionHost.Refresh()
public static void Refresh()
Remarks
If you modify the static search or ignore properties after the CompositionHost has initialized you can call Refresh to reinitialize the catalogs. Calling this method before initialization causes initialization to occur.

Do not call Refresh when adding dynamic content, as it will rebuild the internal "parts" catalog from non-dynamically loaded content only.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CompositionHost Class
CompositionHost Members

Send Feedback