ToString Method

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

Returns a string representation of the current CampaignItem, including the campaign item 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 CampaignItem
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 "CampaignItem Id=" followed by the Id, and " Name=" followed by the Name.

Remarks

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

Permissions

See Also

Reference

CampaignItem Class

CampaignItem Members

Microsoft.CommerceServer.Marketing Namespace