RemoveSearchClause Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Remove the last search clause from this spec search.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Function RemoveSearchClause As String
'Usage
Dim instance As SpecificationSearch
Dim returnValue As String

returnValue = instance.RemoveSearchClause()
public string RemoveSearchClause()
public:
String^ RemoveSearchClause()
public function RemoveSearchClause() : String

Return Value

Type: System..::.String
The clause that was removed..

Remarks

This method always removes the last constraint that was added to the search by using the AddSearchClause method. The returned string will be in the same form as the original constraint.

Permissions

See Also

Reference

SpecificationSearch Class

SpecificationSearch Members

Microsoft.CommerceServer.Catalog Namespace