Search Results for

    Show / Hide Table of Contents

    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()
    Namespace: Xbim.IO.Xml.BsConf
    Assembly: Xbim.IO.MemoryModel.dll
    Syntax
    [Serializable]
    public class schema

    Constructors

    | Improve this Doc View Source

    schema()

    Declaration
    public schema()

    Properties

    | Improve this Doc View Source

    attributeFormDefault

    Declaration
    public qual attributeFormDefault { get; set; }
    Property Value
    Type Description
    qual
    | Improve this Doc View Source

    attributeFormDefaultSpecified

    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

    elementFormDefault

    Declaration
    public qual elementFormDefault { get; set; }
    Property Value
    Type Description
    qual
    | Improve this Doc View Source

    elementFormDefaultSpecified

    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
    Type Description
    schema
    | 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
    Type Description
    schema
    | 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

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim