Click or drag to resize

mxObjectCodecBeforeDecode Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode. The object is created based on the template in the calling method and is never null. This implementation returns the input node. The return value of this function is used in decode to perform the default decoding into the given object.

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

Parameters

dec
Type: imbSCI.Graph.MXGraph.iomxCodec
Codec that controls the decoding process.
node
Type: System.XmlXmlNode
XML node to be decoded.
obj
Type: SystemObject
Object to encode the node into.

Return Value

Type: XmlNode
Returns the node used for the default decoding.
See Also