Partager via


CreateClause Method (ExplicitComparisonOperator, String, Object)

Initializes a new instance of the ProfileSearchClauseFactory class used to limit the results of a search, with a comparison value.

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

Syntax

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

returnValue = instance.CreateClause(op, _
    propertyName, value)
public override SearchClause CreateClause(
    ExplicitComparisonOperator op,
    string propertyName,
    Object value
)
public:
virtual SearchClause^ CreateClause(
    ExplicitComparisonOperator op, 
    String^ propertyName, 
    Object^ value
) override
public override 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

Returns a SearchClause object that can be used to limit the results of a search.

Permissions

See Also

Reference

ProfileSearchClauseFactory Class

ProfileSearchClauseFactory Members

CreateClause Overload

Microsoft.CommerceServer.Profiles Namespace