ToString Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Converts a PromoCodeGenerationError into a string that contains both the Code and LineNumber.
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 PromoCodeGenerationError
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 string representation of the current instance.
Remarks
Get the string representation of the current PromoCodeGenerationError object.
Converts a PromoCodeGenerationError object into a string. Returns a concatenated string containing the Code and LineNumber properties of the PromoCodeGenerationError.
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.
See Also
Reference
PromoCodeGenerationError Structure