Class aggregate
Inheritance
System.Object
aggregate
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 aggregate
Properties
| Improve this Doc View Sourcecontent
Declaration
public content content { get; set; }
Property Value
Type | Description |
---|---|
content |
contentSpecified
Declaration
public bool contentSpecified { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
flatten
Declaration
public bool flatten { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
flattenSpecified
Declaration
public bool flattenSpecified { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Items
Declaration
public List<aggregate> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<aggregate> |
name
Declaration
public string name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
tagless
Declaration
public string tagless { get; set; }
Property Value
Type | Description |
---|---|
System.String |
useid
Declaration
public bool useid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
useidSpecified
Declaration
public bool useidSpecified { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceDeserialize(String)
Declaration
public static aggregate Deserialize(string xml)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml |
Returns
Type | Description |
---|---|
aggregate |
Deserialize(String, out aggregate)
Declaration
public static bool Deserialize(string xml, out aggregate obj)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | |
aggregate | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Deserialize(String, out aggregate, out Exception)
Deserializes workflow markup into an aggregate object
Declaration
public static bool Deserialize(string xml, out aggregate obj, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | string workflow markup to deserialize |
aggregate | obj | Output aggregate 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 aggregate LoadFromFile(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
Returns
Type | Description |
---|---|
aggregate |
LoadFromFile(String, out aggregate)
Declaration
public static bool LoadFromFile(string fileName, out aggregate obj)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | |
aggregate | obj |
Returns
Type | Description |
---|---|
System.Boolean |
LoadFromFile(String, out aggregate, out Exception)
Deserializes xml markup from file into an aggregate object
Declaration
public static bool LoadFromFile(string fileName, out aggregate obj, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | string xml file to load and deserialize |
aggregate | obj | Output aggregate 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 aggregate 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 aggregate object into an XML document
Declaration
public virtual string Serialize()
Returns
Type | Description |
---|---|
System.String | string XML value |