Version

Add(GalleryToolItemGroup) Method

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

Parameters

group
The GalleryToolItemGroup to add to the collection.

Return Value

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