다음을 통해 공유


ConditionalFormattingRule Constructors

Definition

Overloads

ConditionalFormattingRule()

Initializes a new instance of the ConditionalFormattingRule class.

ConditionalFormattingRule(OpenXmlElement[])

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

ConditionalFormattingRule(IEnumerable<OpenXmlElement>)

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

ConditionalFormattingRule(String)

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

ConditionalFormattingRule()

Initializes a new instance of the ConditionalFormattingRule class.

public ConditionalFormattingRule ();
Public Sub New ()

Applies to

ConditionalFormattingRule(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ConditionalFormattingRule(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ConditionalFormattingRule(String)

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

public ConditionalFormattingRule (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.ConditionalFormattingRule : string -> DocumentFormat.OpenXml.Spreadsheet.ConditionalFormattingRule
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to