FileType.FromFileNameOrExtension

FileType.FromFileNameOrExtension method

Return FileType based on file name or extension.

public static FileType FromFileNameOrExtension(string fileNameOrExtension)
Parameter Type Description
fileNameOrExtension String The file name or file extension.

Return Value

The file type.

See Also