docs.unity3d.com
    Show / Hide Table of Contents

    Interface INoteCollection

    Holds a collection of INote.

    Namespace: UnityEditor.Localization.Plugins.XLIFF.Common
    Syntax
    public interface INoteCollection

    Properties

    NoteCount

    Returns the number of notes in the collection.

    Declaration
    int NoteCount { get; }
    Property Value
    Type Description
    Int32

    Methods

    AddNewNote()

    Add a new note to the collection and returns it.

    Declaration
    INote AddNewNote()
    Returns
    Type Description
    INote

    The new note.

    AddNote(INote)

    Adds a note to the collection.

    Declaration
    void AddNote(INote note)
    Parameters
    Type Name Description
    INote note

    The note to add.

    GetNote(Int32)

    Returns the note for the requested index.

    Declaration
    INote GetNote(int index)
    Parameters
    Type Name Description
    Int32 index

    The note index.

    Returns
    Type Description
    INote

    The requested note or null if one does not exist.

    RemoveNote(INote)

    Removes the note from the collection.

    Declaration
    void RemoveNote(INote note)
    Parameters
    Type Name Description
    INote note

    The note to be removed.

    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