VbaSuppData Class
Defines the VbaSuppData Class. It is the root element of VbaDataPart.When the object is serialized out as xml, its qualified name is wne:vbaSuppData.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Office.Word.VbaSuppData
Namespace: DocumentFormat.OpenXml.Office.Word
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(Mcds))> _
<ChildElementInfoAttribute(GetType(DocEvents))> _
Public Class VbaSuppData _
Inherits OpenXmlPartRootElement
'Usage
Dim instance As VbaSuppData
[ChildElementInfoAttribute(typeof(Mcds))]
[ChildElementInfoAttribute(typeof(DocEvents))]
public class VbaSuppData : OpenXmlPartRootElement
Remarks
The following table lists the possible child types:
DocEvents <wne:docEvents>
Mcds <wne:mcds>
2.1.2.1 vbaSuppData
Target namespace: https://schemas.microsoft.com/office/word/2006/wordml
A CT_VbaSuppData element that specifies supplemental Microsoft Visual Basic for Applications (VBA) data.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment defines the contents of this element.
<xsd:element name="vbaSuppData" type="CT_VbaSuppData"/>
2.1.4.4 CT_VbaSuppData
Target namespace: https://schemas.microsoft.com/office/word/2006/wordml
Referenced by: vbaSuppData
A complex type that specifies document events and macro information for the VBA project.
Child Elements:
docEvents : A CT_DocEvents element that specifies a container of document events that are active for this document.
mcds : A CT_Mcds element that specifies a collection of macros stored in the Microsoft® Visual Basic® for Applications (VBA) project.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment defines the contents of this complex type.
<xsd:complexType name="CT_VbaSuppData">
<xsd:sequence>
<xsd:element name="docEvents" type="CT_DocEvents" minOccurs="0" maxOccurs="1"/>
<xsd:element name="mcds" type="CT_Mcds" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
2.1.3.1 vbaSuppData
Target namespace: https://schemas.microsoft.com/office/word/2006/wordml
A CT_VbaSuppData element that specifies supplemental Visual Basic for Applications (VBA) data.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment defines the contents of this element.
<xsd:element name="vbaSuppData" type="CT_VbaSuppData"/>
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.