Click or drag to resize
SearchHelperIsSearchAllowedExtension Method
Check if file extension is allowed for indexing such attachment in search index.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 13.0.131
Syntax
C#
public static bool IsSearchAllowedExtension(
	string ext,
	int siteId
)

Parameters

ext
Type: SystemString
Attachment extension
siteId
Type: SystemInt32
ID of the node site

Return Value

Type: Boolean
True if extension is allowed otherwise false
See Also