SearchOptions Constructor (SearchOptions)
Initializes a new instance of the CatalogSearchOptions class using the supplied CatalogSearchOptions.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Sub New ( _
searchOptionsOriginal As SearchOptions _
)
'Usage
Dim searchOptionsOriginal As SearchOptions
Dim instance As New SearchOptions(searchOptionsOriginal)
public SearchOptions(
SearchOptions searchOptionsOriginal
)
public:
SearchOptions(
SearchOptions^ searchOptionsOriginal
)
public function SearchOptions(
searchOptionsOriginal : SearchOptions
)
Parameters
- searchOptionsOriginal
Type: Microsoft.CommerceServer.Catalog..::.SearchOptions
The CatalogSearchOptions to clone.
Remarks
The newly created SearchOptions contains the parameters from the searchOptionsOriginal object.
Returns a clone of the current searchOptionsOriginal.
You can use properties in this class to customize the search results. You should create an instance of the class, set the appropriate properties and pass it as a parameter to the Search method to apply the filter criteria.
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.