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





Writes the specified tag of the specified worksheet.

Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

public XElement WriteTag (
    Worksheet worksheet,
    Object tag,
    XName elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function WriteTag( _
    worksheet As Worksheet, _
    tag As Object, _
    elementName As XName, _
    parentElement As XElement _
) As XElement

 Parameters

worksheet

The source worksheet.

tag

The object to write.

elementName

An instance of the .NET XName class that specifies the name of the new element.

parentElement

An instance of the .NET XElement class that specifies the parent element.

 Return Value

An instance of the .NET XElement class representing the newly created element.

 Remarks

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

 See Also

XmlContext Members
XmlContext Class
MindFusion.Spreadsheet.Wpf Namespace