ClassTypes Property

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

Gets or sets a CatalogClassType that specifies the class type or types that a method should return from a query.

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

Syntax

'Declaration
Public Property ClassTypes As CatalogClassTypes
'Usage
Dim instance As CatalogSearchOptions
Dim value As CatalogClassTypes

value = instance.ClassTypes

instance.ClassTypes = value
public CatalogClassTypes ClassTypes { get; set; }
public:
property CatalogClassTypes ClassTypes {
    CatalogClassTypes get ();
    void set (CatalogClassTypes value);
}
public function get ClassTypes () : CatalogClassTypes
public function set ClassTypes (value : CatalogClassTypes)

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogClassTypes
A CatalogClassTypes that specifies the class type or types the method should return from a query. The default value is the empty set (0).

Remarks

Some methods have restrictions on the valid values for CatalogClassType. The following sample describes how to combine class types using the logical OR operator.

ClassTypes = CatalogClassType.ProductFamilyClass | CatalogClassType.ProductFamilyForVariantsClass

Permissions

See Also

Reference

CatalogSearchOptions Class

CatalogSearchOptions Members

Microsoft.CommerceServer.Catalog Namespace