C# Class MzIdentML.ModificationType

显示文件 Open project: dbaileychess/CSMSL Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an ModificationType object

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

Deserializes xml markup from file into an ModificationType object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current ModificationType object into file

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

Serializes current ModificationType object into an XML document

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

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