IVsHierarchyEvents.OnInvalidateItems(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notifies clients when changes are made to the item inventory of a hierarchy.
public:
int OnInvalidateItems(System::UInt32 itemidParent);
public:
int OnInvalidateItems(unsigned int itemidParent);
int OnInvalidateItems(unsigned int itemidParent);
public int OnInvalidateItems (uint itemidParent);
abstract member OnInvalidateItems : uint32 -> int
Public Function OnInvalidateItems (itemidParent As UInteger) As Integer
Parameters
- itemidParent
- UInt32
[in] Parent item identifier, or root, of the hierarchy whose item inventory has changed.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.