Class unit
Syntax
[Serializable]
public class unit : ITranslationUnit, INoteCollection
Properties
Any
Declaration
public Xml.XmlElement[] Any { get; set; }
Property Value
AnyAttr
Declaration
public Xml.XmlAttribute[] AnyAttr { get; set; }
Property Value
canResegment
Declaration
public yesNo canResegment { get; set; }
Property Value
canResegmentSpecified
Declaration
public bool canResegmentSpecified { get; set; }
Property Value
id
Declaration
public string id { get; set; }
Property Value
Id
Declaration
public string Id { get; set; }
Property Value
Implements
Items
Declaration
public object[] Items { get; set; }
Property Value
name
Declaration
public string name { get; set; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
Implements
NoteCount
Declaration
public int NoteCount { get; }
Property Value
Implements
notes
Declaration
public List<note> notes { get; set; }
Property Value
originalData
Declaration
public data[] originalData { get; set; }
Property Value
Segment
Declaration
public segment Segment { get; }
Property Value
Source
Declaration
public string Source { get; set; }
Property Value
Implements
space
Declaration
public string space { get; set; }
Property Value
srcDir
Declaration
public dirValue srcDir { get; set; }
Property Value
srcDirSpecified
Declaration
public bool srcDirSpecified { get; set; }
Property Value
Target
Declaration
public string Target { get; set; }
Property Value
Implements
translate
Declaration
public yesNo translate { get; set; }
Property Value
translateSpecified
Declaration
public bool translateSpecified { get; set; }
Property Value
trgDir
Declaration
public dirValue trgDir { get; set; }
Property Value
trgDirSpecified
Declaration
public bool trgDirSpecified { get; set; }
Property Value
type
Declaration
public string type { get; set; }
Property Value
Methods
AddNewNote()
Declaration
public INote AddNewNote()
Returns
Implements
AddNote(INote)
Declaration
public void AddNote(INote note)
Parameters
Type |
Name |
Description |
INote |
note |
|
Implements
GetNote(Int32)
Declaration
public INote GetNote(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Implements
RemoveNote(INote)
Declaration
public void RemoveNote(INote note)
Parameters
Type |
Name |
Description |
INote |
note |
|
Implements
Extension Methods
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.