DataBinding class

Office 2013 and later

Defines the DataBinding Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is w15:dataBinding.

Namespace:  DocumentFormat.OpenXml.Office2013.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[OfficeAvailabilityAttribute(FileFormatVersions.Office2013)]
public class DataBinding : OpenXmlLeafElement

2.3.28 dataBinding

Target namespace: http://schemas.microsoft.com/office/word/2012/wordml

The dataBinding global element<15> is a CT_DataBinding (as specified in [ISO/IEC-29500-1] section A.1) element that specifies the information used to establish a mapping between the parent structured document tag (as specified in [ISO/IEC-29500-1] section 17.5.2) and an XML element stored within a Custom XML Data part in the current WordprocessingML document.

If the parent structured document tag is not of type rich text (as specified in [ISO/IEC-29500-1] section 17.5.2.26) then this behaves like a dataBinding (as specified in [ISO/IEC-29500-1] section 17.5.2.6) element, otherwise the data stored in the XML element will be an escaped string comprised of a flattened WordprocessingML document representing the formatted data in the structured document tag range.

See section 2.2.3 for how this element integrates with ISO/IEC-29500-1.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="dataBinding" type="w12:CT_DataBinding"/>

See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: