C# Class CSMSL.IO.MzML.SourceFileRefType

Mostra file Open project: dbaileychess/CSMSL Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an SourceFileRefType object

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

Deserializes xml markup from file into an SourceFileRefType object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current SourceFileRefType object into file

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

Serializes current SourceFileRefType object into an XML document

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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