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
- 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.