Show / Hide Table of Contents

    GetContentTypeFromFileName Procedure

    Codeunit Mime Helper

    Gets the ContentType from the extension of a file name.

    Signature

    GetContentTypeFromFileName(Filename: Text) : Text
    

    Parameters

    Filename Text

    The file name that should be used.

    Returns

    Text

    Returns the MIME Content Type from the given file type. The value will be empty for unknown MIME types.

    This documentation is generated from Smart Toolbox v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX