IVsHierarchyEvents.OnItemsAppended Method
Notifies clients when items are appended to the end of the hierarchy.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaración
Function OnItemsAppended ( _
itemidParent As UInteger _
) As Integer
'Uso
Dim instance As IVsHierarchyEvents
Dim itemidParent As UInteger
Dim returnValue As Integer
returnValue = instance.OnItemsAppended(itemidParent)
int OnItemsAppended(
uint itemidParent
)
int OnItemsAppended(
[InAttribute] unsigned int itemidParent
)
abstract OnItemsAppended :
itemidParent:uint32 -> int
function OnItemsAppended(
itemidParent : uint
) : int
Parameters
- itemidParent
Type: System.UInt32
[in] Identifier of the parent or root node of the hierarchy to which the item is appended.
Return Value
Type: System.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::OnItemsAppended(
[in] VSITEMID itemidParent
);
When a hierarchy sends notification via IVsHierarchyEvents.OnItemsAppended that it contains appended items, find the item identifier of the last child you were aware of, and then ask the hierarchy what the next sibling of the item is. Add the sibling item to the hierarchy. Continue with this process, increasing the queried value by one, until the hierarchy returns no new items.
.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.