Search
XmlSerializationContext.ReadEnum Method
See Also
 






Reads an enum value with the specified name.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public Object ReadEnum (
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

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

 Parameters

elementName

The name of the element containing the value.

parentElement

The parent element of the node with the specified name.

 Return Value

An enum value. Returns 0 if there is no element with the specified name under the specified parent.

 See Also