ToString Method

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

Creates and returns a string representation of the current Campaign including the 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 Campaign
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 "Campaign Id=" followed by the Id, and " Name=" followed by the Name.

Remarks

Returns a concatenated string containing the Id and Name properties of the Campaign.

Permissions

See Also

Reference

Campaign Class

Campaign Members

Microsoft.CommerceServer.Marketing Namespace