Share via


NewCustomer Method

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

Creates a new Customer object with default values.

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

Syntax

'Declaration
Public Function NewCustomer As Customer
'Usage
Dim instance As CustomerManager
Dim returnValue As Customer

returnValue = instance.NewCustomer()
public Customer NewCustomer()
public:
Customer^ NewCustomer()
public function NewCustomer() : Customer

Return Value

Type: Microsoft.CommerceServer.Marketing..::.Customer
The new created Customer.

Remarks

NewCustomer creates a Customer with default values for all properties. The Customer does not exist in the database until Save is called.

Permissions

See Also

Reference

CustomerManager Class

CustomerManager Members

Microsoft.CommerceServer.Marketing Namespace