CreateClause Method (ImplicitComparisonOperator, String)
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 ImplicitComparisonOperator, _
propertyName As String _
) As SearchClause
'Usage
Dim instance As SearchClauseFactory
Dim op As ImplicitComparisonOperator
Dim propertyName As String
Dim returnValue As SearchClause
returnValue = instance.CreateClause(op, _
propertyName)
public virtual SearchClause CreateClause(
ImplicitComparisonOperator op,
string propertyName
)
public:
virtual SearchClause^ CreateClause(
ImplicitComparisonOperator op,
String^ propertyName
)
public function CreateClause(
op : ImplicitComparisonOperator,
propertyName : String
) : SearchClause
Parameters
- op
Type: Microsoft.CommerceServer..::.ImplicitComparisonOperator
Comparison operation to perform on the property.
- propertyName
Type: System..::.String
Name of the property in this entity to test.
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
- 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.