Export (0) Print
Expand All

DecimalType.FromBoolean Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a Decimal value that corresponds to the specified Boolean value.

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

public static decimal FromBoolean(
	bool Value
)

Parameters

Value
Type: System.Boolean

Required. Boolean value to convert to a Decimal value.

Return Value

Type: System.Decimal
The Decimal value that corresponds to Value.

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft