Search
XmlContext.ReadEnum Method
See Also
 






Reads an enumeration object from the element with the specified name.

Namespace: MindFusion.Spreadsheet
Assembly: MindFusion.Spreadsheet.WinForms

 Syntax

C#  Copy Code

public Object ReadEnum (
    XName elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function ReadEnum( _
    elementName As XName, _
    parentElement As XElement _
) As Object

 Parameters

elementName
An instance of the .NET XName class that specifies the element to read.
parentElement

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

 Return Value

The enumeration object read, or 0 if reading has failed.

 See Also