Creates a new
ColorCategory with the specified string value as its
ColorCategory.Name and positions it at the specified index within the collection.
Parameters
- index
- Index at which the object should be inserted.
- name
- String that will be used to initialize the ColorCategory.Name property of the new ColorCategory. This value must be unique with regards to the other ColorCategory instances within the collection.
Return Value
Returns the new
ColorCategory that was created and added to the collection.
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