IVsUICollectionChangeEvents.OnAfterItemReplaced Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaración
Function OnAfterItemReplaced ( _
pCollection As IVsUICollection, _
pNewItem As IVsUIDataSource, _
pOldItem As IVsUIDataSource, _
nItem As UInteger _
) As Integer
'Uso
Dim instance As IVsUICollectionChangeEvents
Dim pCollection As IVsUICollection
Dim pNewItem As IVsUIDataSource
Dim pOldItem As IVsUIDataSource
Dim nItem As UInteger
Dim returnValue As Integer
returnValue = instance.OnAfterItemReplaced(pCollection, _
pNewItem, pOldItem, nItem)
int OnAfterItemReplaced(
IVsUICollection pCollection,
IVsUIDataSource pNewItem,
IVsUIDataSource pOldItem,
uint nItem
)
int OnAfterItemReplaced(
[InAttribute] IVsUICollection^ pCollection,
[InAttribute] IVsUIDataSource^ pNewItem,
[InAttribute] IVsUIDataSource^ pOldItem,
[InAttribute] unsigned int nItem
)
abstract OnAfterItemReplaced :
pCollection:IVsUICollection *
pNewItem:IVsUIDataSource *
pOldItem:IVsUIDataSource *
nItem:uint32 -> int
function OnAfterItemReplaced(
pCollection : IVsUICollection,
pNewItem : IVsUIDataSource,
pOldItem : IVsUIDataSource,
nItem : uint
) : int
Parameters
- pCollection
Type: Microsoft.VisualStudio.Shell.Interop.IVsUICollection
- pNewItem
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource
- pOldItem
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource
- nItem
Type: System.UInt32
Return Value
Type: System.Int32
.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.
See Also
Reference
IVsUICollectionChangeEvents Interface