IVsHierarchyEvents::OnInvalidateItems Method (UInt32)

 

Notifies clients when changes are made to the item inventory of a hierarchy.

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

int OnInvalidateItems(
	unsigned int itemidParent
)

Parameters

itemidParent
Type: System::UInt32

[in] Parent item identifier, or root, of the hierarchy whose item inventory has changed.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsHierarchyEvents::OnInvalidateItems(
   [in] VSITEMID itemidParent
);

This method is called to tell any listeners to throw out any cached information about a hierarchy and any children of that hierarchy.

Return to top
Show: