Interface IGroupCollection
Holds a collection of IGroup.
Namespace: UnityEditor.Localization.Plugins.XLIFF.Common
Syntax
public interface IGroupCollection
Properties
GroupCount
Returns the number of groups in the collection.
Declaration
int GroupCount { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Methods
AddGroup(IGroup)
Adds the group to the collection.
Declaration
void AddGroup(IGroup grp)
Parameters
| Type | Name | Description |
|---|---|---|
| IGroup | grp | The group to add to the collection. |
AddNewGroup()
Adds a new group to the collection and returns it.
Declaration
IGroup AddNewGroup()
Returns
| Type | Description |
|---|---|
| IGroup | The newly created group. |
GetGroup(Int32)
Returns the group for the index.
Declaration
IGroup GetGroup(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | The index of the group to return. |
Returns
| Type | Description |
|---|---|
| IGroup | The requested group or |
RemoveGroup(IGroup)
Removes the group from the collection.
Declaration
void RemoveGroup(IGroup grp)
Parameters
| Type | Name | Description |
|---|---|---|
| IGroup | grp | The group to remove. |