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 SourceDeepCloneWithResetIdentities(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. |