Version

Add(GalleryToolItemGroupFilter) Method

Adds a GalleryToolItemGroupFilter object to the collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal filter As GalleryToolItemGroupFilter _
) As Integer
public int Add( 
   GalleryToolItemGroupFilter filter
)

Parameters

filter
The GalleryToolItemGroupFilter to add to the collection.

Return Value

The zero based index into the collection where the filter was added.
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.
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