This documentation is archived and is not being maintained.

XmlSerializationWriter.FromEnum Method (Int64, String[], Int64[], String)

Note: This method is new in the .NET Framework version 2.0.

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

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.

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

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



The enumeration value as a series of bitwise OR operations.


The values of the enumeration.


The constants of the enumeration.


The name of the type

Return Value

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

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

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0