FileFormatUtil.LoadFormatToExtension

FileFormatUtil.LoadFormatToExtension method

Converts a load format enumerated value into a file extension.

public static string LoadFormatToExtension(LoadFormat loadFormat)
ParameterTypeDescription
loadFormatLoadFormatThe loaded file format.

Return Value

The returned extension is a lower-case string with a leading dot.

Remarks

If it can not be converted, returns null.

See Also