Share via


FlatOpcExtensions.ToFlatOpcDocument(OpenXmlPackage) Method

Definition

Converts an OpenXml package in OPC format to an XDocument in Flat OPC format.

public static System.Xml.Linq.XDocument ToFlatOpcDocument (this DocumentFormat.OpenXml.Packaging.OpenXmlPackage openXmlPackage);
static member ToFlatOpcDocument : DocumentFormat.OpenXml.Packaging.OpenXmlPackage -> System.Xml.Linq.XDocument
<Extension()>
Public Function ToFlatOpcDocument (openXmlPackage As OpenXmlPackage) As XDocument

Parameters

openXmlPackage
OpenXmlPackage

Returns

Applies to