Click or drag to resize

XmlStreamDeserializationInfoGetEnum(String, Type) Method

Reads a named enum value of the given type.

Namespace: Altaxo.Serialization.Xml
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public Object GetEnum(
	string name,
	Type type
)

Parameters

name  String
Element name.
type  Type
Enum type.

Return Value

Object
The enum value boxed as Object.

Implements

IXmlDeserializationInfoGetEnum(String, Type)
Remarks
Implementations should support the same enum representation used by the serializer. See the serializer documentation for details about how enum values are encoded (name, numeric value, or fully qualified value).
See Also