SqlMoney.Value Property

 

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

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

public decimal Value { get; }

Property Value

Type: System.Decimal

The monetary value of an instance of the SqlMoney structure.

Exception Condition
SqlNullValueException

The property is set to null.

.NET Framework
Available since 1.1
Return to top
Show: