Share via


Recursive Property

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

Gets or sets a property to determine if the search should be recursive or not.

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

Syntax

'Declaration
Public Property Recursive As Boolean
'Usage
Dim instance As CatalogSearch
Dim value As Boolean

value = instance.Recursive

instance.Recursive = value
public bool Recursive { get; set; }
public:
property bool Recursive {
    bool get ();
    void set (bool value);
}
public function get Recursive () : boolean
public function set Recursive (value : boolean)

Property Value

Type: System..::.Boolean
true to perform a recursive search; otherwise false. Default is false.

Remarks

Stores a property to determine if the search should be recursive or not. If this property is true and a category search is being performed then the search will be performed on all the descendants of the category. If this property is false and a category search is being performed then the search will be performed only on the child categories and products of this category. This property will be ignored if a category search is not being performed.

Permissions

See Also

Reference

CatalogSearch Class

CatalogSearch Members

Microsoft.CommerceServer.Catalog Namespace