71 references to TriState
Microsoft.VisualBasic (1)
Microsoft.VisualBasic.cs (1)
72
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.VisualBasic.
TriState
))]
Microsoft.VisualBasic.Core (70)
Microsoft\VisualBasic\Constants.vb (6)
85
Public Const vbUseDefault As
TriState
=
TriState
.UseDefault
86
Public Const vbTrue As
TriState
=
TriState
.True
87
Public Const vbFalse As
TriState
=
TriState
.False
Microsoft\VisualBasic\Strings.vb (64)
1342
Optional ByVal IncludeLeadingDigit As
TriState
=
TriState
.UseDefault,
1343
Optional ByVal UseParensForNegativeNumbers As
TriState
=
TriState
.UseDefault,
1344
Optional ByVal GroupDigits As
TriState
=
TriState
.UseDefault) As String
1375
If IncludeLeadingDigit =
TriState
.False Then
1380
IncludeLeadingDigit =
TriState
.True
1428
Public Function FormatNumber(ByVal Expression As Object, Optional ByVal NumDigitsAfterDecimal As Integer = -1, Optional ByVal IncludeLeadingDigit As
TriState
=
TriState
.UseDefault, Optional ByVal UseParensForNegativeNumbers As
TriState
=
TriState
.UseDefault, Optional ByVal GroupDigits As
TriState
=
TriState
.UseDefault) As String
1465
ByVal IncludeLeadingDigit As
TriState
, ByVal UseParensForNegativeNumbers As
TriState
,
1466
ByVal GroupDigits As
TriState
, ByVal FormatTypeValue As FormatType) As String
1496
If GroupDigits =
TriState
.UseDefault Then
1497
GroupDigits =
TriState
.True
1500
GroupDigits =
TriState
.False
1504
GroupDigits =
TriState
.False
1508
GroupDigits =
TriState
.False
1513
If UseParensForNegativeNumbers =
TriState
.UseDefault Then
1514
UseParensForNegativeNumbers =
TriState
.False
1523
UseParensForNegativeNumbers =
TriState
.True
1527
UseParensForNegativeNumbers =
TriState
.True
1532
If GroupDigits =
TriState
.True Then
1538
If IncludeLeadingDigit <>
TriState
.False Then
1563
If UseParensForNegativeNumbers =
TriState
.True Then
1575
ByVal IncludeLeadingDigit As
TriState
,
1577
ByVal UseParensForNegativeNumbers As
TriState
,
1578
ByVal GroupDigits As
TriState
,
1592
If GroupDigits =
TriState
.False Then
1599
If UseParensForNegativeNumbers =
TriState
.UseDefault Then
1603
UseParensForNegativeNumbers =
TriState
.True
1605
UseParensForNegativeNumbers =
TriState
.False
1608
ElseIf UseParensForNegativeNumbers =
TriState
.False Then
1623
UseParensForNegativeNumbers =
TriState
.True
1647
If IncludeLeadingDigit =
TriState
.False Then
1656
If GroupDigits =
TriState
.False Then
1657
If IncludeLeadingDigit =
TriState
.False Then
1663
If IncludeLeadingDigit =
TriState
.False Then
1692
ByVal IncludeLeadingDigit As
TriState
,
1693
ByVal UseParensForNegativeNumbers As
TriState
,
1694
ByVal GroupDigits As
TriState
) As String
1710
If GroupDigits =
TriState
.UseDefault Then
1712
GroupDigits =
TriState
.False
1714
GroupDigits =
TriState
.True
1726
If UseParensForNegativeNumbers =
TriState
.UseDefault Then
1729
UseParensForNegativeNumbers =
TriState
.True
1731
UseParensForNegativeNumbers =
TriState
.False
1733
ElseIf UseParensForNegativeNumbers =
TriState
.False Then
1738
UseParensForNegativeNumbers =
TriState
.True
1746
If UseParensForNegativeNumbers =
TriState
.UseDefault Then
1747
UseParensForNegativeNumbers =
TriState
.True
1757
If IncludeLeadingDigit <>
TriState
.False Then
1763
If GroupDigits =
TriState
.False OrElse nfi.NumberGroupSizes.Length = 0 Then
1787
Optional ByVal IncludeLeadingDigit As
TriState
=
TriState
.UseDefault,
1788
Optional ByVal UseParensForNegativeNumbers As
TriState
=
TriState
.UseDefault,
1789
Optional ByVal GroupDigits As
TriState
=
TriState
.UseDefault) As String
2234
Private Sub ValidateTriState(ByVal Param As
TriState
)