Share via


OpenXmlUnknownElement.CreateOpenXmlUnknownElement(String) Method

Definition

Caution

Use extension method CreateUnknownElement off of a part container

Creates a new OpenXmlUnknownElement class by using the outer XML.

public static DocumentFormat.OpenXml.OpenXmlUnknownElement CreateOpenXmlUnknownElement (string outerXml);
[System.Obsolete("Use extension method CreateUnknownElement off of a part container", true)]
public static DocumentFormat.OpenXml.OpenXmlUnknownElement CreateOpenXmlUnknownElement (string outerXml);
static member CreateOpenXmlUnknownElement : string -> DocumentFormat.OpenXml.OpenXmlUnknownElement
[<System.Obsolete("Use extension method CreateUnknownElement off of a part container", true)>]
static member CreateOpenXmlUnknownElement : string -> DocumentFormat.OpenXml.OpenXmlUnknownElement
Public Shared Function CreateOpenXmlUnknownElement (outerXml As String) As OpenXmlUnknownElement

Parameters

outerXml
String

The outer XML of the element.

Returns

A new OpenXmlUnknownElement class.

Attributes

Applies to