Visual Basic (Declaration) | |
---|---|
Public Shared Sub Refresh() |
Visual Basic (Usage) | ![]() |
---|---|
CompositionHost.Refresh() |
C# | |
---|---|
public static void Refresh() |
C++/CLI | |
---|---|
public: static void Refresh(); |
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.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family