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: 11.0.0
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