Click or drag to resize
IFileTypeDefinitionIsSupportedFilename Method
Called by the file type manager to evaluate whether the file may be of a type supported by this file type definition (based on its file name).

Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
bool IsSupportedFilename(
	string nativeFilePath
)

Parameters

nativeFilePath
Type: SystemString
The file to evaluate

Return Value

Type: Boolean
True if the file name can be supported by this file type
Remarks

The file type manager calls this method before calling SniffFile(String, Language, Codepage, INativeTextLocationMessageReporter, ISettingsBundle) in order to perform a quick filtering to avoid having to sniff files unnecessarily.

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments