C# Class MzIdentML.ExternalDataType

Inheritance: IdentifiableType
Exibir arquivo Open project: dbaileychess/CSMSL Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an ExternalDataType object

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

Deserializes xml markup from file into an ExternalDataType object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current ExternalDataType object into file

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

Serializes current ExternalDataType object into an XML document

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

Serializes current ExternalDataType 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 ExternalDataType object into an XML document
public Serialize ( ) : string
return string