次の方法で共有


DocEvents Class

Defines the DocEvents Class.When the object is serialized out as xml, its qualified name is wne:docEvents.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office.Word.DocEvents

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(EventDocXmlBeforeDeleteXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocOpenXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocCloseXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocSyncXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocXmlAfterInsertXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocNewXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocContentControlAfterInsertXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocContentControlBeforeDeleteXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocContentControlOnExistXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocContentControlOnEnterXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocStoreUpdateXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocContentControlUpdateXsdString))> _
<ChildElementInfoAttribute(GetType(EventDocBuildingBlockAfterInsertXsdString))> _
Public Class DocEvents _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As DocEvents
[ChildElementInfoAttribute(typeof(EventDocXmlBeforeDeleteXsdString))]
[ChildElementInfoAttribute(typeof(EventDocOpenXsdString))]
[ChildElementInfoAttribute(typeof(EventDocCloseXsdString))]
[ChildElementInfoAttribute(typeof(EventDocSyncXsdString))]
[ChildElementInfoAttribute(typeof(EventDocXmlAfterInsertXsdString))]
[ChildElementInfoAttribute(typeof(EventDocNewXsdString))]
[ChildElementInfoAttribute(typeof(EventDocContentControlAfterInsertXsdString))]
[ChildElementInfoAttribute(typeof(EventDocContentControlBeforeDeleteXsdString))]
[ChildElementInfoAttribute(typeof(EventDocContentControlOnExistXsdString))]
[ChildElementInfoAttribute(typeof(EventDocContentControlOnEnterXsdString))]
[ChildElementInfoAttribute(typeof(EventDocStoreUpdateXsdString))]
[ChildElementInfoAttribute(typeof(EventDocContentControlUpdateXsdString))]
[ChildElementInfoAttribute(typeof(EventDocBuildingBlockAfterInsertXsdString))]
public class DocEvents : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • EventDocNewXsdString <wne:eventDocNew>

  • EventDocOpenXsdString <wne:eventDocOpen>

  • EventDocCloseXsdString <wne:eventDocClose>

  • EventDocSyncXsdString <wne:eventDocSync>

  • EventDocXmlAfterInsertXsdString <wne:eventDocXmlAfterInsert>

  • EventDocXmlBeforeDeleteXsdString <wne:eventDocXmlBeforeDelete>

  • EventDocContentControlAfterInsertXsdString <wne:eventDocContentControlAfterInsert>

  • EventDocContentControlBeforeDeleteXsdString <wne:eventDocContentControlBeforeDelete>

  • EventDocContentControlOnExistXsdString <wne:eventDocContentControlOnExit>

  • EventDocContentControlOnEnterXsdString <wne:eventDocContentControlOnEnter>

  • EventDocStoreUpdateXsdString <wne:eventDocStoreUpdate>

  • EventDocContentControlUpdateXsdString <wne:eventDocContentControlContentUpdate>

  • EventDocBuildingBlockAfterInsertXsdString <wne:eventDocBuildingBlockAfterInsert>

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.

See Also

Reference

DocEvents Members

DocumentFormat.OpenXml.Office.Word Namespace