Sage Modeling and Simulation Library

XmlSerializationContext Methods

The XmlSerializationContext type exposes the following members.

Methods


  Name Description
Public method AddSerializer
Adds a serializer to the XmlSerializationContext for the specified target type.
Public method ContainsSerializer
Determines whether the XmlSerializationContext contains a serializer for the specified target type.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Load
Populates a new XmlSerializationContext from a specified filename.
Public method LoadObject
Loads (reconstitutes) an object from an archive object, and returns the object. If the object has already been reconstituted (i.e. the reference being deserialized is the second or later reference to an object, the original object is located and a reference to it is returned.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PopNode
Pops an XmlNode off the serializer.
Public method PushNode
Pushes the XmlNode into the serializer.
Public method RemoveSerializer
Removes the serializer from the XmlSerializationContext for the specified target type.
Public method Reset
Resets this context. Clears the document, object cache, node stack and hashtables.
Public method Save
Saves the XmlSerializationContext from a specified filename.
Public method StoreObject
Persists the object 'obj' to an XmlNode, and appends that node under the XmlSerializationContext's CurrentNode node.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)