Edit

Share via


TriState Enum

Definition

Indicates a Boolean value or whether the default should be used when calling number-formatting functions.

C#
public enum TriState
Inheritance
TriState

Fields

Name Value Description
UseDefault -2

Default setting. The numeric value of this member is -2.

True -1

True. The numeric value of this member is -1.

False 0

False. The numeric value of this member is 0.

Remarks

When you call number-formatting functions, you can use the following enumeration members in your code in place of the actual values.

Applies to

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also