Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SqlMoney Structure

Represents a currency value ranging from -263 (or -922,337,203,685,477.5808) to 2 63 -1 (or +922,337,203,685,477.5807) with an accuracy to a ten-thousandth of currency unit to be stored in or retrieved from a database.

For a list of all members of this type, see SqlMoney Members.

System.Object
   System.ValueType
      System.Data.SqlTypes.SqlMoney

[Visual Basic]
Public Structure SqlMoney
   Implements INullable, IComparable
[C#]
public struct SqlMoney : INullable, IComparable
[C++]
public __value struct SqlMoney : public INullable, IComparable

[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

The actual value of the SqlMoney object is stored in Value.

Requirements

Namespace: System.Data.SqlTypes

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

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

See Also

SqlMoney Members | System.Data.SqlTypes Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.