GetSearchableProperties Method (String[])
Returns a CatalogPropertyCollection containing all the properties that are used in all catalogNames in the catalog system.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Function GetSearchableProperties ( _
catalogNames As String() _
) As CatalogPropertyCollection
'Usage
Dim instance As CatalogContext
Dim catalogNames As String()
Dim returnValue As CatalogPropertyCollection
returnValue = instance.GetSearchableProperties(catalogNames)
public CatalogPropertyCollection GetSearchableProperties(
string[] catalogNames
)
public:
CatalogPropertyCollection^ GetSearchableProperties(
array<String^>^ catalogNames
)
public function GetSearchableProperties(
catalogNames : String[]
) : CatalogPropertyCollection
Parameters
- catalogNames
Type: array<System..::.String>[]()[]
The list of catalogs you want the properties belonging to.
Return Value
Type: Microsoft.CommerceServer.Catalog..::.CatalogPropertyCollection
A CatalogPropertyCollection containing all the properties that are used in all catalogNames in the catalog system.
Remarks
You can use this method to get all the properties that are being used in all the catalogNames in the catalog system. When doing a CatalogSearch across multiple catalogs, you should pass a list of properties that exist in all catalogs.
If you want to get a list of properties that exist in all catalogs, call this method with the catalogNames set to nullNothingnullptra null reference (Nothing in Visual Basic) or call the method GetSearchableProperties().
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.