C# Class MzIdentML.AffiliationType

Show file Open project: dbaileychess/CSMSL Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an AffiliationType object

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

Deserializes xml markup from file into an AffiliationType object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current AffiliationType object into file

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

Serializes current AffiliationType object into an XML document

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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