Click or drag to resize
SearchablesRetrieverGetSearchableObject Method
Returns ISearchable object for given index that satisfies conditions given by objectType, value and field. Returns null if no ISearchable object satisfies given conditions.

Namespace: CMS.Search.Internal
Assembly: CMS.Search (in CMS.Search.dll) Version: 11.0.0
Syntax
C#
public ISearchable GetSearchableObject(
	SearchIndexInfo index,
	string objectType,
	string value,
	string field
)

Parameters

index
Type: CMS.SearchSearchIndexInfo
Index for which to return ISearchable object.
objectType
Type: SystemString
Returned ISearchable object with given objectType.
value
Type: SystemString
Returned ISearchable object with given value in given field.
field
Type: SystemString
Defines where to find value and in what form to expect given data for a ISearchable object.

Return Value

Type: ISearchable
See Also