Class file
Syntax
public class file : object, IFile, IGroupCollection, ITranslationUnitCollection, INoteCollection
Constructors
file()
Declaration
Properties
Any
Declaration
public System.Xml.XmlElement[] Any { get; set; }
Property Value
Type |
Description |
System.Xml.XmlElement[] |
|
AnyAttr
Declaration
public System.Xml.XmlAttribute[] AnyAttr { get; set; }
Property Value
Type |
Description |
System.Xml.XmlAttribute[] |
|
canResegment
Declaration
public yesNo canResegment { get; set; }
Property Value
GroupCount
Declaration
public int GroupCount { get; }
Property Value
Implements
id
Declaration
public string id { get; set; }
Property Value
Id
Declaration
public string Id { get; set; }
Property Value
Implements
Items
Declaration
public List<object> Items { get; set; }
Property Value
NoteCount
Declaration
public int NoteCount { get; }
Property Value
Implements
notes
Declaration
public List<note> notes { get; set; }
Property Value
Type |
Description |
List<note> |
|
original
Declaration
public string original { get; set; }
Property Value
Original
Declaration
public string Original { get; set; }
Property Value
Implements
skeleton
Declaration
public skeleton skeleton { get; set; }
Property Value
space
Declaration
public string space { get; set; }
Property Value
srcDir
Declaration
public dirValue srcDir { get; set; }
Property Value
translate
Declaration
public yesNo translate { get; set; }
Property Value
TranslationUnitCount
Declaration
public int TranslationUnitCount { get; }
Property Value
Implements
trgDir
Declaration
public dirValue trgDir { get; set; }
Property Value
Methods
AddGroup(IGroup)
Declaration
public void AddGroup(IGroup grp)
Parameters
Type |
Name |
Description |
IGroup |
grp |
|
Implements
AddNewGroup()
Declaration
public IGroup AddNewGroup()
Returns
Implements
AddNewNote()
Declaration
public INote AddNewNote()
Returns
Implements
AddNewTranslationUnit()
Declaration
public ITranslationUnit AddNewTranslationUnit()
Returns
Implements
AddNote(INote)
Declaration
public void AddNote(INote note)
Parameters
Type |
Name |
Description |
INote |
note |
|
Implements
AddTranslationUnit(ITranslationUnit)
Declaration
public void AddTranslationUnit(ITranslationUnit tu)
Parameters
Implements
GetGroup(Int32)
Declaration
public IGroup GetGroup(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Implements
GetNote(Int32)
Declaration
public INote GetNote(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Implements
GetTranslationUnit(Int32)
Declaration
public ITranslationUnit GetTranslationUnit(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Implements
RemoveGroup(IGroup)
Declaration
public void RemoveGroup(IGroup grp)
Parameters
Type |
Name |
Description |
IGroup |
grp |
|
Implements
RemoveNote(INote)
Declaration
public void RemoveNote(INote note)
Parameters
Type |
Name |
Description |
INote |
note |
|
Implements
RemoveTranslationUnit(ITranslationUnit)
Declaration
public void RemoveTranslationUnit(ITranslationUnit tu)
Parameters
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.