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