SqlMoney.ToSqlBoolean Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Converts this SqlMoney structure to SqlBoolean.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public SqlBoolean ToSqlBoolean()

Return Value

Type: System.Data.SqlTypes.SqlBoolean

A SqlBoolean structure. If the value of the SqlMoney structure is zero, the SqlBoolean structure's value will be False. Otherwise, True.

.NET Framework
Available since 1.1
Return to top