Class rootEntity
Inheritance
System.Object
rootEntity
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Xbim.IO.Xml.BsConf
Assembly: Xbim.IO.MemoryModel.dll
Syntax
[Serializable]
public class rootEntity
Properties
| Improve this Doc View SourceItem
Declaration
public addAttribute Item { get; set; }
Property Value
Type | Description |
---|---|
addAttribute |
name
Declaration
public string name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceDeserialize(String)
Declaration
public static rootEntity Deserialize(string xml)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml |
Returns
Type | Description |
---|---|
rootEntity |
Deserialize(String, out rootEntity)
Declaration
public static bool Deserialize(string xml, out rootEntity obj)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | |
rootEntity | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Deserialize(String, out rootEntity, out Exception)
Deserializes workflow markup into an rootEntity object
Declaration
public static bool Deserialize(string xml, out rootEntity obj, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | string workflow markup to deserialize |
rootEntity | obj | Output rootEntity object |
System.Exception | exception | output Exception value if deserialize failed |
Returns
Type | Description |
---|---|
System.Boolean | true if this XmlSerializer can deserialize the object; otherwise, false |
LoadFromFile(String)
Declaration
public static rootEntity LoadFromFile(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
Returns
Type | Description |
---|---|
rootEntity |
LoadFromFile(String, out rootEntity)
Declaration
public static bool LoadFromFile(string fileName, out rootEntity obj)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | |
rootEntity | obj |
Returns
Type | Description |
---|---|
System.Boolean |
LoadFromFile(String, out rootEntity, out Exception)
Deserializes xml markup from file into an rootEntity object
Declaration
public static bool LoadFromFile(string fileName, out rootEntity obj, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | string xml file to load and deserialize |
rootEntity | obj | Output rootEntity object |
System.Exception | exception | output Exception value if deserialize failed |
Returns
Type | Description |
---|---|
System.Boolean | true if this XmlSerializer can deserialize the object; otherwise, false |
SaveToFile(String)
Declaration
public virtual void SaveToFile(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
SaveToFile(String, out Exception)
Serializes current rootEntity object into file
Declaration
public virtual bool SaveToFile(string fileName, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | full path of outupt xml file |
System.Exception | exception | output Exception value if failed |
Returns
Type | Description |
---|---|
System.Boolean | true if can serialize and save into file; otherwise, false |
Serialize()
Serializes current rootEntity object into an XML document
Declaration
public virtual string Serialize()
Returns
Type | Description |
---|---|
System.String | string XML value |