This documentation is archived and is not being maintained.

SqlMoney.Value Property

Gets the monetary value of an instance of the SqlMoney structure. This property is read-only.

[Visual Basic]
Public ReadOnly Property Value As Decimal
[C#]
public decimal Value {get;}
[C++]
public: __property Decimal get_Value();
[JScript]
public function get Value() : Decimal;

Property Value

The monetary value of an instance of the SqlMoney structure.

Exceptions

Exception Type Condition
SqlNullValueException The property is set to null.

Requirements

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

See Also

SqlMoney Structure | SqlMoney Members | System.Data.SqlTypes Namespace

Show: