IntersectClauses Method
Intersects the result of two SearchClause objects.
Namespace: Microsoft.CommerceServer
Assembly: Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)
Syntax
'Declaration
Public Overridable Function IntersectClauses ( _
leftHandSide As SearchClause, _
rightHandSide As SearchClause _
) As SearchClause
'Usage
Dim instance As SearchClauseFactory
Dim leftHandSide As SearchClause
Dim rightHandSide As SearchClause
Dim returnValue As SearchClause
returnValue = instance.IntersectClauses(leftHandSide, _
rightHandSide)
public virtual SearchClause IntersectClauses(
SearchClause leftHandSide,
SearchClause rightHandSide
)
public:
virtual SearchClause^ IntersectClauses(
SearchClause^ leftHandSide,
SearchClause^ rightHandSide
)
public function IntersectClauses(
leftHandSide : SearchClause,
rightHandSide : SearchClause
) : SearchClause
Parameters
- leftHandSide
Type: Microsoft.CommerceServer..::.SearchClause
First clause to join.
- rightHandSide
Type: Microsoft.CommerceServer..::.SearchClause
Second clause to join.
Return Value
Type: Microsoft.CommerceServer..::.SearchClause
A new SearchClause object representing the intersection of the two clauses.
Remarks
Use this method to create an 'and'-style join of two clauses. The IntersectClauses computes the intersection of the two clauses. The intersection of the two clauses gives you the search clause that contains a filter that is common to both clauses.
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.