Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMediaType

    Defines a ContentType, which Media is based on.

    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IMediaType : IContentTypeComposition, IContentTypeBase, IUmbracoEntity, ITreeEntity, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty

    Methods

    View Source

    DeepCloneWithResetIdentities(string)

    Creates a deep clone of the current entity with its identity/alias and it's property identities reset.

    Declaration
    IMediaType DeepCloneWithResetIdentities(string newAlias)
    Parameters
    Type Name Description
    string newAlias

    The new alias for the cloned media type.

    Returns
    Type Description
    IMediaType

    A deep clone of the current IMediaType with reset identities.

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