XdmTypeAttribute Constructor (XmlTypeCode)XdmTypeAttribute Constructor (XmlTypeCode)XdmTypeAttribute Constructor (XmlTypeCode)

Creates a new instance of the XdmTypeAttributeXdmTypeAttributeXdmTypeAttribute class wit a particular item type.

Syntax

Public Sub New ( _
    typeCode As System.Xml.Schema.XmlTypeCode _
)
public XdmTypeAttribute(
    System.Xml.Schema.XmlTypeCode typeCode
)
public:
XdmTypeAttribute(
    System.Xml.Schema::XmlTypeCode typeCode
)
 

Remarks

This constructor annotates the type of an argument or return value as a single item with the specified type code. If you want to allow an empty value, or allow a sequence of values, then use the XdmTypeAttribute (XmlTypeCode, Quantifier)XdmTypeAttribute (XmlTypeCode, Quantifier)XdmTypeAttribute (XmlTypeCode, Quantifier) constructor instead.