Class uosElement
Inheritance
System.Object
uosElement
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 uosElement
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 uosElement Deserialize(string xml)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml |
Returns
Type | Description |
---|---|
uosElement |
Deserialize(String, out uosElement)
Declaration
public static bool Deserialize(string xml, out uosElement obj)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | |
uosElement | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Deserialize(String, out uosElement, out Exception)
Deserializes workflow markup into an uosElement object
Declaration
public static bool Deserialize(string xml, out uosElement obj, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | string workflow markup to deserialize |
uosElement | obj | Output uosElement 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 uosElement LoadFromFile(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
Returns
Type | Description |
---|---|
uosElement |
LoadFromFile(String, out uosElement)
Declaration
public static bool LoadFromFile(string fileName, out uosElement obj)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | |
uosElement | obj |
Returns
Type | Description |
---|---|
System.Boolean |
LoadFromFile(String, out uosElement, out Exception)
Deserializes xml markup from file into an uosElement object
Declaration
public static bool LoadFromFile(string fileName, out uosElement obj, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | string xml file to load and deserialize |
uosElement | obj | Output uosElement 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 uosElement 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 uosElement object into an XML document
Declaration
public virtual string Serialize()
Returns
Type | Description |
---|---|
System.String | string XML value |