다음을 통해 공유


ToString Method

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

Returns a string representation of the Customer object including the customer Id and name.

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

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As Customer
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
public override function ToString() : String

Return Value

Type: System..::.String
A string that is a concatenation of the word "Customer Id=" followed by the Id, and " Name=" followed by the Name.

Remarks

Converts a Customer object into a string. Returns a concatenated string containing the Id and Name properties of the Customer.

Permissions

See Also

Reference

Customer Class

Customer Members

Microsoft.CommerceServer.Marketing Namespace