Version

Insert(Int32,GalleryToolItemGroup) Method

Inserts a GalleryToolItemGroup object into the collection at the specified index.
Syntax
'Declaration
 
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal group As GalleryToolItemGroup _
) 
public void Insert( 
   int index,
   GalleryToolItemGroup group
)

Parameters

index
The index at which to insert the GalleryToolItemGroup.
group
The GalleryToolItemGroup being inserted.
Exceptions
ExceptionDescription
System.ArgumentNullExceptiongroup is null.
System.ObjectDisposedExceptiongroup has been disposed.
System.InvalidOperationExceptiongroup already belongs to another GalleryToolItemGroupCollection.
System.ArgumentExceptionThe key of group is null or empty.
System.ArgumentExceptionA group with the same key of group already exists in the collection.
System.ArgumentOutOfRangeExceptionindex is less than zero or greater than the Count.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also