Compartir a través de


IVsHierarchyEvents.OnInvalidateItems(UInt32) Method

Definition

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.

Applies to