MimeType.displayName

Descriptive comment of MIME type.

  1. string displayName()
    class MimeType
    @nogc @safe nothrow const pure
    string
    displayName
    ()
  2. string displayName(string comment)

Examples

auto mimeType = new MimeType("text/markdown");
mimeType.displayName = "Markdown document";
assert(mimeType.displayName == "Markdown document");

Meta