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
- op
Type: Microsoft.CommerceServer..::.ExplicitComparisonOperator
Comparison operation to perform on the property.
- propertyName
Type: System..::.String
Name of the property in this entity to test.
- value
Type: System..::.Object
Value to test the property against.
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.