Interface IFileContentTypeManager
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public interface IFileContentTypeManager
Properties
| Improve this Doc View SourceContentTypes
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 SourceGetContentType(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. |