共用方式為


OleObjectLink Constructors

Definition

Overloads

OleObjectLink()

Initializes a new instance of the OleObjectLink class.

OleObjectLink(OpenXmlElement[])

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

OleObjectLink(IEnumerable<OpenXmlElement>)

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

OleObjectLink(String)

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

Initializes a new instance of the OleObjectLink class.

public OleObjectLink ();
Public Sub New ()

Applies to

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

public OleObjectLink (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Presentation.OleObjectLink : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Presentation.OleObjectLink
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

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

public OleObjectLink (string outerXml);
new DocumentFormat.OpenXml.Presentation.OleObjectLink : string -> DocumentFormat.OpenXml.Presentation.OleObjectLink
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to