This documentation is archived and is not being maintained.

TypeDescriptor.Refresh Method

Clears the properties and events from the cache.

Overload List

Clears the properties and events for the specified assembly from the cache.

[Visual Basic] Overloads Public Shared Sub Refresh(Assembly)
[C#] public static void Refresh(Assembly);
[C++] public: static void Refresh(Assembly*);
[JScript] public static function Refresh(Assembly);

Clears the properties and events for the specified module from the cache.

[Visual Basic] Overloads Public Shared Sub Refresh(Module)
[C#] public static void Refresh(Module);
[C++] public: static void Refresh(Module*);
[JScript] public static function Refresh(Module);

Clears the properties and events for the specified component from the cache.

[Visual Basic] Overloads Public Shared Sub Refresh(Object)
[C#] public static void Refresh(object);
[C++] public: static void Refresh(Object*);
[JScript] public static function Refresh(Object);

Clears the properties and events for the specified type of component from the cache.

[Visual Basic] Overloads Public Shared Sub Refresh(Type)
[C#] public static void Refresh(Type);
[C++] public: static void Refresh(Type*);
[JScript] public static function Refresh(Type);

Example

For an example on using this method, see the sample in RefreshEventHandler.

See Also

TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace

Show: