MindFusion.Wpf Pack Programmer's Guide
XmlPersistContext.WriteTag Method
See Also
 





Writes the specified tag of the specified object.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public XmlElement WriteTag (
    Object item,
    Object tagValue,
    string elementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

Public Function WriteTag( _
    item As Object, _
    tagValue As Object, _
    elementName As String, _
    parentElement As XmlElement _
) As XmlElement

 Parameters

item
A reference to the item or resource whose tag is being written.
tagValue
The tag object to write.
elementName
The name of the element under which the object should be written.
parentElement
The parent element of the newly created node.

 Return Value

An instance of the .NET XmlElement class representing the newly created XML element.

 Remarks

Tags are written similarly to arbitrary objects except that the client of the diagram is given a chance to perform custom serialization through event handling.

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming.Wpf Namespace