IVsUIDynamicCollection.InsertCollection Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'宣告
Function InsertCollection ( _
nIndex As UInteger, _
pCollection As IVsUICollection _
) As Integer
'用途
Dim instance As IVsUIDynamicCollection
Dim nIndex As UInteger
Dim pCollection As IVsUICollection
Dim returnValue As Integer
returnValue = instance.InsertCollection(nIndex, _
pCollection)
int InsertCollection(
uint nIndex,
IVsUICollection pCollection
)
int InsertCollection(
[InAttribute] unsigned int nIndex,
[InAttribute] IVsUICollection^ pCollection
)
abstract InsertCollection :
nIndex:uint32 *
pCollection:IVsUICollection -> int
function InsertCollection(
nIndex : uint,
pCollection : IVsUICollection
) : int
Parameters
- nIndex
Type: System.UInt32
- pCollection
Type: Microsoft.VisualStudio.Shell.Interop.IVsUICollection
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