Export (0) Print
Expand All

XmlSerializationReader.ToEnum Method

Silverlight

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code. Produces a numeric enumeration value from a string that consists of delimited identifiers that represent constants from the enumerator list.

Namespace:  System.Xml.Serialization
Assembly:  System.Xml.Serialization (in System.Xml.Serialization.dll)

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

Parameters

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

Return Value

Type: System.Int64
A long value that consists of the enumeration value as a series of bitwise OR operations.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft