다음을 통해 공유


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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to