SearchHelperIsSearchAllowedExtension Method |
Check if file extension is allowed for indexing such attachment in search index.
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 8.2.23
Syntax 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:
BooleanTrue if extension is allowed otherwise false
See Also