Class AssetRelatedItem
- Namespace
- CMS.MediaLibrary
- Assembly
- CMS.MediaLibrary.dll
Represents asset persisted in database.
public sealed class AssetRelatedItem
- Inheritance
-
objectAssetRelatedItem
- 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
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