TriState Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Public Enumeration TriState
public enum TriState

Members

Member name Description
False False. The numeric value of this member is 0.
True True. The numeric value of this member is -1.
UseDefault Default setting. The numeric value of this member is -2.

Remarks

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.