• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface IFileContentTypeManager

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public interface IFileContentTypeManager

Properties

| Improve this Doc View Source

ContentTypes

Gets get all content types dictionary.

Declaration
IDictionary<string, string> ContentTypes { get; }
Property Value
Type Description
IDictionary<System.String, System.String>

Methods

| Improve this Doc View Source

GetContentType(String)

Gets the Content Type for the specified file extension.

Declaration
string GetContentType(string extension)
Parameters
Type Name Description
System.String extension

The file extension.

Returns
Type Description
System.String

The Content Type for the specified extension.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS