This documentation is archived and is not being maintained.

IVsObjectListOwner.ListLoadRefused Method

Sets a flag to prevent loading of the object list.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int ListLoadRefused ()
int ListLoadRefused ()
function ListLoadRefused () : int

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

You can use this method to prevent loading of the object list when the window is not visible. This decreases resource use.