Version

Insert(Int32,GalleryToolItemGroupFilter) Method

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

Parameters

index
The index at which to insert the GalleryToolItemGroupFilter.
filter
The GalleryToolItemGroupFilter being inserted.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionfilter is null.
System.ObjectDisposedExceptionfilter has been disposed.
System.InvalidOperationExceptionfilter already belongs to another GalleryToolItemGroupFilterCollection.
System.ArgumentExceptionThe key of filter is null or empty.
System.ArgumentExceptionA filter with the same key of filter 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