docs.unity.cn
    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 © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use