Partager via


DerivedClassName Property

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

Gets the name of the current instance.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property DerivedClassName As String
'Usage
Dim instance As Payment
Dim value As String

value = instance.DerivedClassName
public string DerivedClassName { get; }
public:
property String^ DerivedClassName {
    String^ get ();
}
public function get DerivedClassName () : String

Property Value

Type: System..::.String
The name of the current payment.

Exceptions

Exception Condition
ArgumentNullException

The value for the set operation is a nullNothingnullptra null reference (Nothing in Visual Basic) reference.

Remarks

Returns the name of the current payment.

DerivedClassName aids marshalling of Payment objects in the order system.

For example, DerivedClassName could be "CreditCardPayment", "GiftCertificatePayment", or a custom derived class name. DerivedClassName must match the derived class name exactly

Permissions

See Also

Reference

Payment Class

Payment Members

Microsoft.CommerceServer.Runtime.Orders Namespace