Delen via


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

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

See Also

Reference

SearchClauseFactory Class

SearchClauseFactory Members

Microsoft.CommerceServer Namespace