Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaTypeExtensions

    Provides extension methods for IMediaType.

    Inheritance
    object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class MediaTypeExtensions

    Methods

    View Source

    IsSystemMediaType(IMediaType)

    Determines whether the media type is a built-in system media type (File, Folder, or Image).

    Declaration
    public static bool IsSystemMediaType(this IMediaType mediaType)
    Parameters
    Type Name Description
    IMediaType mediaType

    The media type to check.

    Returns
    Type Description
    bool

    true if the media type is a system media type; otherwise, false.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX