Enable user to set the ParcelNumber to the number which is original or not used by other Parcels.
public int Number { get; set; }
Public Property Number As Integer Get Set
public:
property int Number {
int get ();
void set (int value);
}| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the value of ParcelNumber is set to a number which is already used by another parcel. |