Partager via


MaxValue Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the maximum value allowed for the property. If no maximum is enforced, this value is the maximum value allowed for the decimal type.

Namespace:  Microsoft.CommerceServer
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
Public Property MaxValue As Decimal
'Usage
Dim instance As MaximumValueValidationException
Dim value As Decimal

value = instance.MaxValue

instance.MaxValue = value
public decimal MaxValue { get; set; }
public:
property Decimal MaxValue {
    Decimal get ();
    void set (Decimal value);
}
public function get MaxValue () : decimal
public function set MaxValue (value : decimal)

Property Value

Type: System..::.Decimal
The maximum value allowed for the property. If no maximum is enforced, this value is the maximum value allowed for the decimal type.

Remarks

Stores the maximum value allowed for the property. If no maximum is enforced, this value is the maximum value allowed for the decimal type.

Permissions

See Also

Reference

MaximumValueValidationException Class

MaximumValueValidationException Members

Microsoft.CommerceServer Namespace