CatalogSearchOptions.ClassTypes Property (BCL)

The ClassTypes property gets or sets a CatalogClassType value that specifies the class type(s) to return from a query.

Definition

[Visual Basic .NET]

Public Property ClassTypes As CatalogClassTypes

[C#]

public CatalogClassTypes ClassTypes{get; set;} 

Property Value

A CatalogClassType object that specifies the class type(s) to return from a query.

Remarks

Some methods have restrictions on the valid values for the ClassTypes property.

The default value is the empty set (0). Class types can be combined by using the logical Or operator. For example:

[C#]

ClassTypes = CatalogClassTypes.ProductFamilyClass | CatalogClassTypes.ProductFamilyForVariantsClass;

[Visual Basic .NET]

ClassTypes = CatalogClassTypes.ProductFamilyClass Or CatalogClassTypes.ProductFamilyForVariantsClass

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Catalog

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.