Class Constants.Conventions.MediaTypes
Defines the alias identifiers for Umbraco media types.
Inheritance
System.Object
Namespace: Umbraco.Core
Assembly: Umbraco.Core.dll
Syntax
public static class MediaTypes
Fields
View SourceArticle
MediaType name for an article.
Declaration
public const string Article = "Article"
Field Value
Type | Description |
---|---|
System.String |
ArticleAlias
MediaType alias for an article.
Declaration
public const string ArticleAlias = "umbracoMediaArticle"
Field Value
Type | Description |
---|---|
System.String |
Audio
MediaType name for an audio.
Declaration
public const string Audio = "Audio"
Field Value
Type | Description |
---|---|
System.String |
AudioAlias
MediaType alias for an audio.
Declaration
public const string AudioAlias = "umbracoMediaAudio"
Field Value
Type | Description |
---|---|
System.String |
AutoSelect
MediaType alias indicating allowing auto-selection.
Declaration
public const string AutoSelect = "umbracoAutoSelect"
Field Value
Type | Description |
---|---|
System.String |
File
MediaType alias for a file.
Declaration
public const string File = "File"
Field Value
Type | Description |
---|---|
System.String |
Folder
MediaType alias for a folder.
Declaration
public const string Folder = "Folder"
Field Value
Type | Description |
---|---|
System.String |
Image
MediaType alias for an image.
Declaration
public const string Image = "Image"
Field Value
Type | Description |
---|---|
System.String |
VectorGraphics
MediaType name for vector graphics.
Declaration
public const string VectorGraphics = "VectorGraphics"
Field Value
Type | Description |
---|---|
System.String |
VectorGraphicsAlias
MediaType alias for vector graphics.
Declaration
public const string VectorGraphicsAlias = "umbracoMediaVectorGraphics"
Field Value
Type | Description |
---|---|
System.String |
Video
MediaType name for a video.
Declaration
public const string Video = "Video"
Field Value
Type | Description |
---|---|
System.String |
VideoAlias
MediaType alias for a video.
Declaration
public const string VideoAlias = "umbracoMediaVideo"
Field Value
Type | Description |
---|---|
System.String |