SearchOptions Constructor ()
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the CatalogSearchOptions class using the supplied XmlData.CatalogSearchOptions.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public Sub New ( _
searchOptions As SearchOptions _
)
'Usage
Dim searchOptions As SearchOptions
Dim instance As New SearchOptions(searchOptions)
[BrowsableAttribute(false)]
public SearchOptions(
SearchOptions searchOptions
)
[BrowsableAttribute(false)]
public:
SearchOptions(
SearchOptions^ searchOptions
)
public function SearchOptions(
searchOptions : SearchOptions
)
Parameters
- searchOptions
Type: SearchOptions
The XmlData.CatalogSearchOptions that contains the set of options to use in the search.
Remarks
Initializes a new instance of the SearchOptions class using the supplied searchOptions.
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.