共用方式為


ConditionalFormat Constructors

Definition

Overloads

ConditionalFormat()

Initializes a new instance of the ConditionalFormat class.

ConditionalFormat(OpenXmlElement[])

Initializes a new instance of the ConditionalFormat class with the specified child elements.

ConditionalFormat(IEnumerable<OpenXmlElement>)

Initializes a new instance of the ConditionalFormat class with the specified child elements.

ConditionalFormat(String)

Initializes a new instance of the ConditionalFormat class from outer XML.

ConditionalFormat()

Initializes a new instance of the ConditionalFormat class.

public ConditionalFormat ();
Public Sub New ()

Applies to

ConditionalFormat(OpenXmlElement[])

Initializes a new instance of the ConditionalFormat class with the specified child elements.

public ConditionalFormat (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office2010.Excel.ConditionalFormat : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2010.Excel.ConditionalFormat
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ConditionalFormat(IEnumerable<OpenXmlElement>)

Initializes a new instance of the ConditionalFormat class with the specified child elements.

public ConditionalFormat (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office2010.Excel.ConditionalFormat : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2010.Excel.ConditionalFormat
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ConditionalFormat(String)

Initializes a new instance of the ConditionalFormat class from outer XML.

public ConditionalFormat (string outerXml);
new DocumentFormat.OpenXml.Office2010.Excel.ConditionalFormat : string -> DocumentFormat.OpenXml.Office2010.Excel.ConditionalFormat
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to