System.Xml.Serialization.XmlSerializationWriter.FromEnum Method

Takes a numeric enumeration value and the names and constants from the enumerator list for the enumeration and returns a string that consists of delimited identifiers that represent the enumeration members that have been set.

Syntax

protected static string FromEnum (long value, string[] values, long[] ids, string typeName)

Parameters

value
The enumeration value as a series of bitwise OR operations.
values
The values of the enumeration.
ids
The constants of the enumeration.
typeName
The name of the type

Returns

A string that consists of delimited identifiers, where each item is one of the values set by the bitwise operation.

Remarks

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

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0