OleObjectLink Constructors  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. | 
OleObjectLink()
Initializes a new instance of the OleObjectLink class.
public OleObjectLink();Public Sub New ()Applies to
OleObjectLink(OpenXmlElement[])
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.OleObjectLinkPublic Sub New (ParamArray childElements As OpenXmlElement())Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
OleObjectLink(IEnumerable<OpenXmlElement>)
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.OleObjectLinkPublic Sub New (childElements As IEnumerable(Of OpenXmlElement))Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
OleObjectLink(String)
Initializes a new instance of the OleObjectLink class from outer XML.
public OleObjectLink(string outerXml);new DocumentFormat.OpenXml.Presentation.OleObjectLink : string -> DocumentFormat.OpenXml.Presentation.OleObjectLinkPublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.