2.20.7 TextRun.Value.DataType
Applies to RDL 2008/01, RDL 2010/01, and RDL 2016/01
The TextRun.Value.DataType attribute specifies the data type of the TextRun.Value element if the value of TextRun.Value is a constant. This attribute is optional. If this attribute is present, its value MUST be a String ([XMLSCHEMA2/2] section 3.2.1), a Boolean ([XMLSCHEMA2/2] section 3.2.2), a DateTime ([XMLSCHEMA2] section 3.2.7), an Integer ([XMLSCHEMA2/2] section 3.3.17), or a Float ([XMLSCHEMA2] section 3.2.4). If this attribute is not present, its value is interpreted as a String.
Following is the parent element of the TextRun.Value.DataType attribute.
Parent elements |
---|
TextRun.Value |
The following is the XML Schema definition of the TextRun.Value.DataType attribute.
-
<xsd:attribute name="DataType" use="optional"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Boolean" /> <xsd:enumeration value="DateTime" /> <xsd:enumeration value="Integer" /> <xsd:enumeration value="Float" /> <xsd:enumeration value="String" /> </xsd:restriction> </xsd:simpleType> </xsd:attribute>