HierarchyNode.OnInvalidateItems Method
Notifies clients when changes are made to the item inventory of a hierarchy.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Sub OnInvalidateItems ( _
parent As HierarchyNode _
)
'使用
Dim instance As HierarchyNode
Dim parent As HierarchyNode
instance.OnInvalidateItems(parent)
public void OnInvalidateItems(
HierarchyNode parent
)
public:
void OnInvalidateItems(
HierarchyNode^ parent
)
public function OnInvalidateItems(
parent : HierarchyNode
)
Parameters
parent
Type: Microsoft.VisualStudio.Package.HierarchyNodeParent item identifier, or root, of the hierarchy whose item inventory has changed.
Remarks
This method is called to tell any listeners to discard any cached information about a hierarchy and any children of that hierarchy.
Permissions
- 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.