Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Converts a PromoCodeDefinition into a string that contains both 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 PromoCodeDefinition
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
The formatted string containing the PromoCodeDefinition Id and Name.
Remarks
Converts a PromoCodeDefinition object into a string. Returns a concatenated string containing the Id and Name properties of the PromoCodeDefinition.
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.