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