C# Class Platform.Xml.Serialization.XmlListElementAttribute

Inheritance: Platform.Xml.Serialization.XmlElementAttribute
Datei anzeigen Open project: platformdotnet/Platform

Public Methods

Method Description
XmlListElementAttribute ( Type itemType ) : System

Specifies a list item's type.

The type's name will be used as the alias for all elements with the type. If the type has been attributed with an XmlElement attribute then the alias specified in that attribute will be used.

XmlListElementAttribute ( Type itemType, string alias ) : System

Specifies a list item's type.

The supplied alias will be used to map the actual element Type with an XML element.

XmlListElementAttribute ( string alias ) : System

Method Details

XmlListElementAttribute() public method

Specifies a list item's type.
The type's name will be used as the alias for all elements with the type. If the type has been attributed with an XmlElement attribute then the alias specified in that attribute will be used.
public XmlListElementAttribute ( Type itemType ) : System
itemType System.Type The type of element the list can contain.
return System

XmlListElementAttribute() public method

Specifies a list item's type.
The supplied alias will be used to map the actual element Type with an XML element.
public XmlListElementAttribute ( Type itemType, string alias ) : System
itemType System.Type
alias string
return System

XmlListElementAttribute() public method

public XmlListElementAttribute ( string alias ) : System
alias string
return System