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