IVsUIDynamicCollection.ReplaceItem 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
'Déclaration
Function ReplaceItem ( _
nIndex As UInteger, _
pItem As IVsUIDataSource _
) As Integer
'Utilisation
Dim instance As IVsUIDynamicCollection
Dim nIndex As UInteger
Dim pItem As IVsUIDataSource
Dim returnValue As Integer
returnValue = instance.ReplaceItem(nIndex, _
pItem)
int ReplaceItem(
uint nIndex,
IVsUIDataSource pItem
)
int ReplaceItem(
[InAttribute] unsigned int nIndex,
[InAttribute] IVsUIDataSource^ pItem
)
abstract ReplaceItem :
nIndex:uint32 *
pItem:IVsUIDataSource -> int
function ReplaceItem(
nIndex : uint,
pItem : IVsUIDataSource
) : int
Parameters
- nIndex
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
IVsUIDynamicCollection Interface