C# Class MzIdentML.IdentifiableType

Show file Open project: dbaileychess/CSMSL Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( string xml ) : IdentifiableType
Deserialize ( string xml, IdentifiableType &obj ) : bool
Deserialize ( string xml, IdentifiableType &obj, System &exception ) : bool

Deserializes workflow markup into an IdentifiableType object

LoadFromFile ( string fileName ) : IdentifiableType
LoadFromFile ( string fileName, IdentifiableType &obj ) : bool
LoadFromFile ( string fileName, IdentifiableType &obj, System &exception ) : bool

Deserializes xml markup from file into an IdentifiableType object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current IdentifiableType object into file

SaveToFile ( string fileName ) : void
Serialize ( ) : string

Serializes current IdentifiableType object into an XML document

Method Details

Deserialize() public static method

public static Deserialize ( string xml ) : IdentifiableType
xml string
return IdentifiableType

Deserialize() public static method

public static Deserialize ( string xml, IdentifiableType &obj ) : bool
xml string
obj IdentifiableType
return bool

Deserialize() public static method

Deserializes workflow markup into an IdentifiableType object
public static Deserialize ( string xml, IdentifiableType &obj, System &exception ) : bool
xml string string workflow markup to deserialize
obj IdentifiableType Output IdentifiableType object
exception System output Exception value if deserialize failed
return bool

LoadFromFile() public static method

public static LoadFromFile ( string fileName ) : IdentifiableType
fileName string
return IdentifiableType

LoadFromFile() public static method

public static LoadFromFile ( string fileName, IdentifiableType &obj ) : bool
fileName string
obj IdentifiableType
return bool

LoadFromFile() public static method

Deserializes xml markup from file into an IdentifiableType object
public static LoadFromFile ( string fileName, IdentifiableType &obj, System &exception ) : bool
fileName string string xml file to load and deserialize
obj IdentifiableType Output IdentifiableType object
exception System output Exception value if deserialize failed
return bool

SaveToFile() public method

Serializes current IdentifiableType object into file
public SaveToFile ( string fileName, System &exception ) : bool
fileName string full path of outupt xml file
exception System output Exception value if failed
return bool

SaveToFile() public method

public SaveToFile ( string fileName ) : void
fileName string
return void

Serialize() public method

Serializes current IdentifiableType object into an XML document
public Serialize ( ) : string
return string