Search
XmlPersistContext Members
Constructors Methods
 


Contains helper methods for serialization of diagram contents to and from XML documents.

The following tables list the members exposed by the XmlPersistContext type.

 Public Constructors

  Name Description

XmlPersistContext

Initializes a new instance of the XmlPersistContext class.

 Public Methods

  Name Description

addChildElement

Adds a new child node with the specified name and value to the specified parent node.

readBool

Reads a Boolean value with the specified name.

readBrush

Reads a Brush object with the specified name.

readFloat

Reads a floating-point number with the specified name.

readImage

Reads an image object with the specified name.

readInt

Reads an integer number with the specified name.

readString

Reads a string value with the specified name.

writeBool

Writes a Boolean value with the specified name.

writeBrush

Writes a reference to the specified brush. The brush is registered within the internal hashtable for subsequent serialization.

writeFloat

Writes a floating-point number with the specified name.

writeImage

Writes a reference to the specified image. The image is registered within the internal hashtable for subsequent serialization.

writeInt

Writes an integer number with the specified name.

writeString

Writes a string value with the specified name.

 See Also