TriState Enumeration 

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

Remarks

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

Members

Member Description

True

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

False

False. The numeric value of this member is 0.

UseDefault

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

Requirements

Namespace: Microsoft.VisualBasic

Module: Strings

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)

See Also

Tasks

How to: Refer to an Enumeration Member

Reference

FormatNumber Function (Visual Basic)
FormatCurrency Function (Visual Basic)
FormatPercent Function (Visual Basic)

Concepts

When to Use an Enumeration