System.Xml.Serialization.XmlSerializationReader.ToEnum Method

Produces a numeric enumeration value from a string that consists of delimited identifiers that represent constants from the enumerator list.

Syntax

protected static long ToEnum (string value, Hashtable h, string typeName)

Parameters

value
A string that consists of delimited identifiers where each identifier represents a constant from the set enumerator list.
h
A Hashtable that consists of the identifiers as keys and the constants as integral numbers.
typeName
The name of the enumeration type.

Returns

A long value that consists of the enumeration value as a series of bitwise OR operations.

Remarks

The protected members of System.Xml.Serialization.XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

The XmlSerializationReader.ToEnum(string, Hashtable, string) method is static.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0