Adds instance of Tag class (or array of Tag classes) to TagGroup collection
| Exception Type | Condition |
|---|---|
| ArgumentNullException | Thrown if Tag is a null reference (Nothing in Visual Basic) or Nameis null |
| ArgumentException | Thrown if Tag is not Type GELink.Tag or Tag.Name is empty |
VB
Dim MyGroup As New GELink.TagGroup
Dim MyTag_1 As New GELink.Tag("%R1")
Dim MyTag_2 As New GELink.Tag("%M1")
MyGroup.AddTag(MyTag_1)
MyGroup.AddTag(MyTag_2)
C#
GELink.TagGroup MyGroup = new GELink.TagGroup();
GELink.Tag MyTag_1 = new GELink.Tag("%R1");
GELink.Tag MyTag_2 = new GELink.Tag("%M1");
MyGroup.AddTag(MyTag_1);
MyGroup.AddTag(MyTag_2);
TagGroup Class | GELink Namespace | RemoveTag