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