Class unit | Localization | 0.9.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class unit

    Inheritance
    Object
    unit
    Namespace: UnityEditor.Localization.Plugins.XLIFF.V20
    Syntax
    [Serializable]
    public class unit : ITranslationUnit, INoteCollection

    Properties

    Any

    Declaration
    public Xml.XmlElement[] Any { get; set; }
    Property Value
    Type Description
    Xml.XmlElement[]

    AnyAttr

    Declaration
    public Xml.XmlAttribute[] AnyAttr { get; set; }
    Property Value
    Type Description
    Xml.XmlAttribute[]

    canResegment

    Declaration
    public yesNo canResegment { get; set; }
    Property Value
    Type Description
    yesNo

    canResegmentSpecified

    Declaration
    public bool canResegmentSpecified { get; set; }
    Property Value
    Type Description
    Boolean

    id

    Declaration
    public string id { get; set; }
    Property Value
    Type Description
    String

    Id

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    String
    Implements
    ITranslationUnit.Id

    Items

    Declaration
    public object[] Items { get; set; }
    Property Value
    Type Description
    Object[]

    name

    Declaration
    public string name { get; set; }
    Property Value
    Type Description
    String

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String
    Implements
    ITranslationUnit.Name

    NoteCount

    Declaration
    public int NoteCount { get; }
    Property Value
    Type Description
    Int32
    Implements
    INoteCollection.NoteCount

    notes

    Declaration
    public List<note> notes { get; set; }
    Property Value
    Type Description
    List<note>

    originalData

    Declaration
    public data[] originalData { get; set; }
    Property Value
    Type Description
    data[]

    Segment

    Declaration
    public segment Segment { get; }
    Property Value
    Type Description
    segment

    Source

    Declaration
    public string Source { get; set; }
    Property Value
    Type Description
    String
    Implements
    ITranslationUnit.Source

    space

    Declaration
    public string space { get; set; }
    Property Value
    Type Description
    String

    srcDir

    Declaration
    public dirValue srcDir { get; set; }
    Property Value
    Type Description
    dirValue

    srcDirSpecified

    Declaration
    public bool srcDirSpecified { get; set; }
    Property Value
    Type Description
    Boolean

    Target

    Declaration
    public string Target { get; set; }
    Property Value
    Type Description
    String
    Implements
    ITranslationUnit.Target

    translate

    Declaration
    public yesNo translate { get; set; }
    Property Value
    Type Description
    yesNo

    translateSpecified

    Declaration
    public bool translateSpecified { get; set; }
    Property Value
    Type Description
    Boolean

    trgDir

    Declaration
    public dirValue trgDir { get; set; }
    Property Value
    Type Description
    dirValue

    trgDirSpecified

    Declaration
    public bool trgDirSpecified { get; set; }
    Property Value
    Type Description
    Boolean

    type

    Declaration
    public string type { get; set; }
    Property Value
    Type Description
    String

    Methods

    AddNewNote()

    Declaration
    public INote AddNewNote()
    Returns
    Type Description
    INote
    Implements
    INoteCollection.AddNewNote()

    AddNote(INote)

    Declaration
    public void AddNote(INote note)
    Parameters
    Type Name Description
    INote note
    Implements
    INoteCollection.AddNote(INote)

    GetNote(Int32)

    Declaration
    public INote GetNote(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    INote
    Implements
    INoteCollection.GetNote(Int32)

    RemoveNote(INote)

    Declaration
    public void RemoveNote(INote note)
    Parameters
    Type Name Description
    INote note
    Implements
    INoteCollection.RemoveNote(INote)
    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