Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function OnInvalidateItems ( _
itemidParent As UInteger _
) As Integer
int OnInvalidateItems(
uint itemidParent
)
int OnInvalidateItems(
[InAttribute] unsigned int itemidParent
)
abstract OnInvalidateItems :
itemidParent:uint32 -> int
function OnInvalidateItems(
itemidParent : uint
) : int
Parameters
itemidParent
Type: UInt32[in] Parent item identifier, or root, of the hierarchy whose item inventory has changed.
Return Value
Type: Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.