Bagikan melalui


OpenXmlUnknownElementExtensions.CreateUnknownElement Method

Definition

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.

Applies to