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
- searchOptionsA
Type: Microsoft.CommerceServer.Catalog..::.CatalogSearchOptions
The first CatalogSearchOptions object to compare.
- searchOptionsB
Type: Microsoft.CommerceServer.Catalog..::.CatalogSearchOptions
The second CatalogSearchOptions object to compare.
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
- 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.