Click or drag to resize

mxObjectCodecEncode Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Encodes the specified object and returns a node representing then given object. Calls beforeEncode after creating the node and afterEncode with the resulting node after processing. Enc is a reference to the calling encoder. It is used to encode complex objects and create references.

Namespace:  imbSCI.Graph.MXGraph.io
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public virtual XmlNode Encode(
	mxCodec enc,
	Object obj
)
Request Example View Source

Parameters

enc
Type: imbSCI.Graph.MXGraph.iomxCodec
Codec that controls the encoding process.
obj
Type: SystemObject
Object to be encoded.

Return Value

Type: XmlNode
Returns the resulting XML node that represents the given object.
See Also