다음을 통해 공유


ContentPart Constructors

Definition

Overloads

ContentPart()

Initializes a new instance of the ContentPart class.

ContentPart(OpenXmlElement[])

Initializes a new instance of the ContentPart class with the specified child elements.

ContentPart(IEnumerable<OpenXmlElement>)

Initializes a new instance of the ContentPart class with the specified child elements.

ContentPart(String)

Initializes a new instance of the ContentPart class from outer XML.

ContentPart()

Initializes a new instance of the ContentPart class.

public ContentPart ();
Public Sub New ()

Applies to

ContentPart(OpenXmlElement[])

Initializes a new instance of the ContentPart class with the specified child elements.

public ContentPart (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office2010.Excel.Drawing.ContentPart : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2010.Excel.Drawing.ContentPart
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ContentPart(IEnumerable<OpenXmlElement>)

Initializes a new instance of the ContentPart class with the specified child elements.

public ContentPart (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office2010.Excel.Drawing.ContentPart : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2010.Excel.Drawing.ContentPart
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ContentPart(String)

Initializes a new instance of the ContentPart class from outer XML.

public ContentPart (string outerXml);
new DocumentFormat.OpenXml.Office2010.Excel.Drawing.ContentPart : string -> DocumentFormat.OpenXml.Office2010.Excel.Drawing.ContentPart
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to