C# Class CSMSL.IO.MzML.ProductType

Show file Open project: dbaileychess/CSMSL Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an ProductType object

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

Deserializes xml markup from file into an ProductType object

ProductType ( ) : System
SaveToFile ( string fileName, System &exception ) : bool

Serializes current ProductType object into file

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

Serializes current ProductType object into an XML document

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

ProductType() public method

public ProductType ( ) : System
return System

SaveToFile() public method

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