共用方式為


DataValidation.Operator Property

Definition

operator

Represents the following attribute in the schema: operator

[DocumentFormat.OpenXml.SchemaAttr(0, "operator")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.DataValidationOperatorValues> Operator { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.DataValidationOperatorValues> Operator { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "operator")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.DataValidationOperatorValues>? Operator { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("operator")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.DataValidationOperatorValues>? Operator { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.DataValidationOperatorValues>? Operator { get; set; }
member this.Operator : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.DataValidationOperatorValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "operator")>]
member this.Operator : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.DataValidationOperatorValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("operator")>]
member this.Operator : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.DataValidationOperatorValues> with get, set
Public Property Operator As EnumValue(Of DataValidationOperatorValues)

Property Value

Returns EnumValue<T>.

Attributes

Remarks

The IME (input method editor) mode enforced by this data validation. Only applies for these languages:

  • Chinese Simplified

  • Chinese Traditional

  • Japanese

  • Korean

When imeMode is set, the input for the cell can be restricted to specific sets of characters, as specified by the value of imeMode. See the simple type referenced below for additional details.

When imeMode is set but the application's language is not one of the languages listed above, then the default value is noControl.

The possible values for this attribute are defined by the ST_DataValidationImeMode simple type.

Applies to