Share via


GetSearchableProperties Method

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

Returns a CatalogPropertyCollection containing all the properties that are used in all catalogs in the catalog system.

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

Syntax

'Declaration
Public Function GetSearchableProperties As CatalogPropertyCollection
'Usage
Dim instance As CatalogContext
Dim returnValue As CatalogPropertyCollection

returnValue = instance.GetSearchableProperties()
public CatalogPropertyCollection GetSearchableProperties()
public:
CatalogPropertyCollection^ GetSearchableProperties()
public function GetSearchableProperties() : CatalogPropertyCollection

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogPropertyCollection
A CatalogPropertyCollection containing all the properties that are used in all catalogs in the catalog system.

Remarks

You can use this method to get all the properties that are being used in all the catalogs in the catalog system. When doing a CatalogSearch across multiple catalogs, you should pass a list of properties that exist in all catalogs.

Calling the method GetSearchableProperties() is the same as calling GetSearchableProperties(null).

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

GetSearchableProperties Overload

Microsoft.CommerceServer.Catalog Namespace