OpenXmlUnknownElementExtensions.CreateUnknownElement Method
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.
Creates a new OpenXmlUnknownElement class by using the outer XML.
public static DocumentFormat.OpenXml.OpenXmlUnknownElement CreateUnknownElement (this DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer container, string outerXml);
static member CreateUnknownElement : DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer * string -> DocumentFormat.OpenXml.OpenXmlUnknownElement
<Extension()>
Public Function CreateUnknownElement (container As OpenXmlPartContainer, outerXml As String) As OpenXmlUnknownElement
Parameters
- container
- OpenXmlPartContainer
Container to create unknown element from.
- outerXml
- String
The outer XML of the element.
Returns
A new OpenXmlUnknownElement class.