Bagikan melalui


Equality Operator

Get the value indicating if two CatalogSearchOptions objects are equal.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    searchOptionsA As CatalogSearchOptions, _
    searchOptionsB As CatalogSearchOptions _
) As Boolean
'Usage
Dim searchOptionsA As CatalogSearchOptions
Dim searchOptionsB As CatalogSearchOptions
Dim returnValue As Boolean

returnValue = (searchOptionsA = searchOptionsB)
public static bool operator ==(
    CatalogSearchOptions searchOptionsA,
    CatalogSearchOptions searchOptionsB
)
public:
static bool operator ==(
    CatalogSearchOptions^ searchOptionsA, 
    CatalogSearchOptions^ searchOptionsB
)
JScript does not support overloaded operators.

Parameters

Return Value

Type: System..::.Boolean
true to indicate the search options are different; otherwise false.

Remarks

Determines whether the specified CatalogSearchOptions objects are considered equal.

Permissions

See Also

Reference

CatalogSearchOptions Class

CatalogSearchOptions Members

Microsoft.CommerceServer.Catalog Namespace