MetadataBlock 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
MetadataBlock() |
Initializes a new instance of the MetadataBlock class. |
MetadataBlock(OpenXmlElement[]) |
Initializes a new instance of the MetadataBlock class with the specified child elements. |
MetadataBlock(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the MetadataBlock class with the specified child elements. |
MetadataBlock(String) |
Initializes a new instance of the MetadataBlock class from outer XML. |
MetadataBlock()
Initializes a new instance of the MetadataBlock class.
public MetadataBlock ();
Public Sub New ()
Applies to
MetadataBlock(OpenXmlElement[])
Initializes a new instance of the MetadataBlock class with the specified child elements.
public MetadataBlock (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Spreadsheet.MetadataBlock : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.MetadataBlock
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
MetadataBlock(IEnumerable<OpenXmlElement>)
Initializes a new instance of the MetadataBlock class with the specified child elements.
public MetadataBlock (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Spreadsheet.MetadataBlock : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.MetadataBlock
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
MetadataBlock(String)
Initializes a new instance of the MetadataBlock class from outer XML.
public MetadataBlock (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.MetadataBlock : string -> DocumentFormat.OpenXml.Spreadsheet.MetadataBlock
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.