CreateClause Method (ImplicitComparisonOperator, String)
Initializes a new instance of the ProfileSearchClauseFactory class used to limit the results of a search.
Namespace: Microsoft.CommerceServer.Profiles
Assembly: Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)
Syntax
'Declaration
Public Overrides Function CreateClause ( _
op As ImplicitComparisonOperator, _
propertyName As String _
) As SearchClause
'Usage
Dim instance As ProfileSearchClauseFactory
Dim op As ImplicitComparisonOperator
Dim propertyName As String
Dim returnValue As SearchClause
returnValue = instance.CreateClause(op, _
propertyName)
public override SearchClause CreateClause(
ImplicitComparisonOperator op,
string propertyName
)
public:
virtual SearchClause^ CreateClause(
ImplicitComparisonOperator op,
String^ propertyName
) override
public override 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
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