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
- firstError
Type: Microsoft.CommerceServer.Marketing..::.PromoCodeGenerationError
The first PromoCodeGenerationError object to compare.
- secondError
Type: Microsoft.CommerceServer.Marketing..::.PromoCodeGenerationError
The second PromoCodeGenerationError object to compare.
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
- 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