GetSupportedFileTypeFeatures

GetSupportedFileTypeFeatures()

Gets all registered file type feature support entries keyed by FileType.

public static IReadOnlyDictionary<FileType, FileTypeFeatureSupport> GetSupportedFileTypeFeatures()

Return Value

A read-only map of supported file types.

See Also


GetSupportedFileTypeFeatures(FileType)

Gets feature support for the specified file type.

public static FileTypeFeatureSupport GetSupportedFileTypeFeatures(FileType fileType)
Parameter Type Description
fileType FileType The file type.

Return Value

The support information.

Exceptions

exception condition
ArgumentNullException fileType is null.
ArgumentException fileType is Unknown.
KeyNotFoundException No support information is registered for this file type.

See Also


GetSupportedFileTypeFeatures(string)

Gets feature support for the specified file extension.

public static FileTypeFeatureSupport GetSupportedFileTypeFeatures(string extension)
Parameter Type Description
extension String The file extension, with or without a leading dot (e.g. .pdf or pdf).

Return Value

The support information.

Exceptions

exception condition
ArgumentException extension is null or whitespace.
KeyNotFoundException No support information is registered for this extension.

See Also