Partager via


CreateClause Method (ExplicitComparisonOperator, String, Object)

Creates a SearchClause used to limit the results of a search.

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

Syntax

'Declaration
Public Overridable Function CreateClause ( _
    op As ExplicitComparisonOperator, _
    propertyName As String, _
    value As Object _
) As SearchClause
'Usage
Dim instance As SearchClauseFactory
Dim op As ExplicitComparisonOperator
Dim propertyName As String
Dim value As Object
Dim returnValue As SearchClause

returnValue = instance.CreateClause(op, _
    propertyName, value)
public virtual SearchClause CreateClause(
    ExplicitComparisonOperator op,
    string propertyName,
    Object value
)
public:
virtual SearchClause^ CreateClause(
    ExplicitComparisonOperator op, 
    String^ propertyName, 
    Object^ value
)
public function CreateClause(
    op : ExplicitComparisonOperator, 
    propertyName : String, 
    value : Object
) : SearchClause

Parameters

Return Value

Type: Microsoft.CommerceServer..::.SearchClause
SearchClause object that can be used to limit the results of a search.

Remarks

The returned object represents a search clause for searching subsystems.

Permissions

See Also

Reference

SearchClauseFactory Class

SearchClauseFactory Members

CreateClause Overload

Microsoft.CommerceServer Namespace