Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the 4 digit expiration year when credit card will expire.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Property ExpirationYear As Integer
'Usage
Dim instance As CreditCardPayment
Dim value As Integer
value = instance.ExpirationYear
instance.ExpirationYear = value
public int ExpirationYear { get; set; }
public:
property int ExpirationYear {
int get ();
void set (int value);
}
public function get ExpirationYear () : int
public function set ExpirationYear (value : int)
Property Value
Type: System..::.Int32
The expiration year, formatted as a 4 digit integer, of the credit card. Default is 2005
Exceptions
Exception | Condition |
---|---|
ArgumentException | If the value is not a 4 digit value. |
Remarks
Stores the expiration year, formatted as a 4 digit integer, of the credit card.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.