DataValidation Constructors

Definition

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.Spreadsheet.DataValidation : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.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.Spreadsheet.DataValidation : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.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.Spreadsheet.DataValidation : string -> DocumentFormat.OpenXml.Spreadsheet.DataValidation
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to