docs.unity3d.com
    Show / Hide Table of Contents

    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 null if one does not exist.

    RemoveGroup(IGroup)

    Removes the group from the collection.

    Declaration
    void RemoveGroup(IGroup grp)
    Parameters
    Type Name Description
    IGroup grp

    The group to remove.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023