Class schema
Inheritance
System.Object
schema
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()
Assembly: Xbim.IO.MemoryModel.dll
Syntax
[Serializable]
public class schema
Constructors
|
Improve this Doc
View Source
schema()
Declaration
Properties
|
Improve this Doc
View Source
Declaration
public qual attributeFormDefault { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool attributeFormDefaultSpecified { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
defaultObjectType
Declaration
public string defaultObjectType { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
defaultRootObjectType
Declaration
public string defaultRootObjectType { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public qual elementFormDefault { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool elementFormDefaultSpecified { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
embedschemaitems
Declaration
public bool embedschemaitems { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Items
Declaration
public List<object> Items { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.Object> |
|
|
Improve this Doc
View Source
schemaversion
Declaration
public string schemaversion { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
targetNamespace
Declaration
public string targetNamespace { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Deserialize(String)
Declaration
public static schema Deserialize(string xml)
Parameters
Type |
Name |
Description |
System.String |
xml |
|
Returns
|
Improve this Doc
View Source
Deserialize(String, out schema)
Declaration
public static bool Deserialize(string xml, out schema obj)
Parameters
Type |
Name |
Description |
System.String |
xml |
|
schema |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Deserialize(String, out schema, out Exception)
Deserializes workflow markup into an schema object
Declaration
public static bool Deserialize(string xml, out schema obj, out Exception exception)
Parameters
Type |
Name |
Description |
System.String |
xml |
string workflow markup to deserialize
|
schema |
obj |
Output schema 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
|
|
Improve this Doc
View Source
LoadFromFile(String)
Declaration
public static schema LoadFromFile(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
Returns
|
Improve this Doc
View Source
LoadFromFile(String, out schema)
Declaration
public static bool LoadFromFile(string fileName, out schema obj)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
schema |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LoadFromFile(String, out schema, out Exception)
Deserializes xml markup from file into an schema object
Declaration
public static bool LoadFromFile(string fileName, out schema obj, out Exception exception)
Parameters
Type |
Name |
Description |
System.String |
fileName |
string xml file to load and deserialize
|
schema |
obj |
Output schema 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
|
|
Improve this Doc
View Source
SaveToFile(String)
Declaration
public virtual void SaveToFile(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
|
Improve this Doc
View Source
SaveToFile(String, out Exception)
Serializes current schema 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
|
|
Improve this Doc
View Source
Serialize()
Serializes current schema object into an XML document
Declaration
public virtual string Serialize()
Returns
Type |
Description |
System.String |
string XML value
|