Share via


DataValidationValues Enum

Definition

Data Validation Type

public enum DataValidationValues
public readonly struct DataValidationValues : DocumentFormat.OpenXml.IEnumValue, DocumentFormat.OpenXml.IEnumValueFactory<DocumentFormat.OpenXml.Spreadsheet.DataValidationValues>, IEquatable<DocumentFormat.OpenXml.Spreadsheet.DataValidationValues>
type DataValidationValues = 
type DataValidationValues = struct
    interface IEnumValue
    interface IEnumValueFactory<DataValidationValues>
Public Enum DataValidationValues
Public Structure DataValidationValues
Implements IEnumValue, IEnumValueFactory(Of DataValidationValues), IEquatable(Of DataValidationValues)
Inheritance
DataValidationValues
Inheritance
DataValidationValues

Fields

Name Value Description
None 0

None.

When the item is serialized out as xml, its value is "none".

Whole 1

Whole Number.

When the item is serialized out as xml, its value is "whole".

Decimal 2

Decimal.

When the item is serialized out as xml, its value is "decimal".

List 3

List.

When the item is serialized out as xml, its value is "list".

Date 4

Date.

When the item is serialized out as xml, its value is "date".

Time 5

Time.

When the item is serialized out as xml, its value is "time".

TextLength 6

Text Length.

When the item is serialized out as xml, its value is "textLength".

Custom 7

Custom.

When the item is serialized out as xml, its value is "custom".

Custom

Custom.

When the item is serialized out as xml, its value is "custom".

DataValidationValues(String)

Creates a new DataValidationValues enum instance

Date

Date.

When the item is serialized out as xml, its value is "date".

Decimal

Decimal.

When the item is serialized out as xml, its value is "decimal".

Equality(DataValidationValues, DataValidationValues)
Equals(DataValidationValues)
Equals(Object)
GetHashCode()
IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<DataValidationValues>.Create(String)
Inequality(DataValidationValues, DataValidationValues)
List

List.

When the item is serialized out as xml, its value is "list".

None

None.

When the item is serialized out as xml, its value is "none".

TextLength

Text Length.

When the item is serialized out as xml, its value is "textLength".

Time

Time.

When the item is serialized out as xml, its value is "time".

ToString()
Whole

Whole Number.

When the item is serialized out as xml, its value is "whole".

Applies to