Table of Contents

Class AssetRelatedItem

Namespace
CMS.MediaLibrary
Assembly
CMS.MediaLibrary.dll

Represents asset persisted in database.

public sealed class AssetRelatedItem
Inheritance
object
AssetRelatedItem
Extension Methods

Remarks

Use extension method ForAssets(ObjectQuery<MediaFileInfo>, IEnumerable<AssetRelatedItem>) to retrieve MediaFileInfo objects by single database query.

Properties

Dimensions

Asset dimensions for asset representing an image.

public AssetDimensions Dimensions { get; set; }

Property Value

AssetDimensions

Identifier

Asset identifier.

public Guid Identifier { get; set; }

Property Value

Guid

Name

Asset name.

public string Name { get; set; }

Property Value

string

Size

Asset file size.

public long Size { get; set; }

Property Value

long