XRoadLib


XRoadXmlArrayItemAttribute

Namespace: XRoadLib.Attributes

Represents an attribute that specifies the derived types that the serializer can place in a serialized array.

Constructors

ConstructorDescription
new()
Signature: unit -> unit

Initializes a new instance of the XmlArrayItemAttribute class.

new(elementName)
Signature: elementName:string -> unit

Initializes a new instance of the XmlArrayItemAttribute class and specifies the name of the XML element generated in the XML document.

new(elementName, type)
Signature: (elementName:string * type:Type) -> unit

Initializes a new instance of the XmlArrayItemAttribute class and specifies the name of the XML element generated in the XML document and the Type that can be inserted into the generated XML document.

new(type)
Signature: type:Type -> unit

Initializes a new instance of the XmlArrayItemAttribute class and specifies the Type that can be inserted into the serialized array.

Instance members

Instance memberDescription
MaxOccurs()
Signature: unit -> unit

Maximum number of times this element can occur in serialized XML.

MinOccurs()
Signature: unit -> unit

Minimum number of times this element must occur in serialized XML.

UseXop()
Signature: unit -> unit

Use MTOM/XOP standard for binary content serialization (default value is true).

Fork me on GitHub