Share via


Inequality Operator

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

Returns a value indicating whether two PromoCodeGenerationError objects are not equal.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    firstError As PromoCodeGenerationError, _
    secondError As PromoCodeGenerationError _
) As Boolean
'Usage
Dim firstError As PromoCodeGenerationError
Dim secondError As PromoCodeGenerationError
Dim returnValue As Boolean

returnValue = (firstError <> secondError)
public static bool operator !=(
    PromoCodeGenerationError firstError,
    PromoCodeGenerationError secondError
)
public:
static bool operator !=(
    PromoCodeGenerationError firstError, 
    PromoCodeGenerationError secondError
)
JScript does not support overloaded operators.

Parameters

Return Value

Type: System..::.Boolean
true if given objects describe different PromoCodeGenerationError; otherwise false.

Remarks

Determines whether the specified PromoCodeGenerationError objects are considered unequal.

Permissions

See Also

Reference

PromoCodeGenerationError Structure

PromoCodeGenerationError Members

Microsoft.CommerceServer.Marketing Namespace