Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BodyType class

Defines the BodyType class.

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[ChildElementInfoAttribute(typeof(CustomXmlMoveFromRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlConflictDeletionRangeStart), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
[ChildElementInfoAttribute(typeof(CustomXmlInsRangeStart))]
[ChildElementInfoAttribute(typeof(SectionProperties))]
[ChildElementInfoAttribute(typeof(AltChunk))]
[ChildElementInfoAttribute(typeof(CustomXmlBlock))]
[ChildElementInfoAttribute(typeof(SdtBlock))]
[ChildElementInfoAttribute(typeof(Paragraph))]
[ChildElementInfoAttribute(typeof(Table))]
[ChildElementInfoAttribute(typeof(ProofError))]
[ChildElementInfoAttribute(typeof(PermStart))]
[ChildElementInfoAttribute(typeof(PermEnd))]
[ChildElementInfoAttribute(typeof(BookmarkStart))]
[ChildElementInfoAttribute(typeof(BookmarkEnd))]
[ChildElementInfoAttribute(typeof(CommentRangeStart))]
[ChildElementInfoAttribute(typeof(CommentRangeEnd))]
[ChildElementInfoAttribute(typeof(MoveFromRangeStart))]
[ChildElementInfoAttribute(typeof(MoveFromRangeEnd))]
[ChildElementInfoAttribute(typeof(MoveToRangeStart))]
[ChildElementInfoAttribute(typeof(MoveToRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlInsRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlDelRangeStart))]
[ChildElementInfoAttribute(typeof(CustomXmlDelRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveFromRangeStart))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveToRangeStart))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveToRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlConflictInsertionRangeStart), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
[ChildElementInfoAttribute(typeof(CustomXmlConflictInsertionRangeEnd), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
[ChildElementInfoAttribute(typeof(CustomXmlConflictDeletionRangeEnd), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
[ChildElementInfoAttribute(typeof(InsertedRun))]
[ChildElementInfoAttribute(typeof(DeletedRun))]
[ChildElementInfoAttribute(typeof(MoveFromRun))]
[ChildElementInfoAttribute(typeof(MoveToRun))]
[ChildElementInfoAttribute(typeof(ContentPart), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(RunConflictInsertion), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
[ChildElementInfoAttribute(typeof(RunConflictDeletion), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
public abstract class BodyType : OpenXmlCompositeElement

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

The following table lists the possible child types:CustomXmlBlock <w:customXml>SdtBlock <w:sdt>Paragraph <w:p>Table <w:tbl>ProofError <w:proofErr>PermStart <w:permStart>PermEnd <w:permEnd>BookmarkStart <w:bookmarkStart>BookmarkEnd <w:bookmarkEnd>MoveFromRangeStart <w:moveFromRangeStart>MoveFromRangeEnd <w:moveFromRangeEnd>MoveToRangeStart <w:moveToRangeStart>MoveToRangeEnd <w:moveToRangeEnd>CommentRangeStart <w:commentRangeStart>CommentRangeEnd <w:commentRangeEnd>CustomXmlInsRangeStart <w:customXmlInsRangeStart>CustomXmlInsRangeEnd <w:customXmlInsRangeEnd>CustomXmlDelRangeStart <w:customXmlDelRangeStart>CustomXmlDelRangeEnd <w:customXmlDelRangeEnd>CustomXmlMoveFromRangeStart <w:customXmlMoveFromRangeStart>CustomXmlMoveFromRangeEnd <w:customXmlMoveFromRangeEnd>CustomXmlMoveToRangeStart <w:customXmlMoveToRangeStart>CustomXmlMoveToRangeEnd <w:customXmlMoveToRangeEnd>InsertedRun <w:ins>DeletedRun <w:del>MoveFromRun <w:moveFrom>MoveToRun <w:moveTo>DocumentFormat.OpenXml.Math.Paragraph <m:oMathPara>DocumentFormat.OpenXml.Math.OfficeMath <m:oMath>AltChunk <w:altChunk>SectionProperties <w:sectPr>

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:
© 2015 Microsoft