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
- 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
Returns a SearchClause object that can be used to limit the results of a search.
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.
See Also
Reference
ProfileSearchClauseFactory Class