Class ContentItemAssetBaseMetadata
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Represents metadata of an asset in content item.
public class ContentItemAssetBaseMetadata
- Inheritance
-
objectContentItemAssetBaseMetadata
- Derived
- Extension Methods
Remarks
Asset metadata can be supplied to create or update operations of IContentItemManager via ContentItemData.
Constructors
ContentItemAssetBaseMetadata()
public ContentItemAssetBaseMetadata()
Properties
Extension
Asset extension, including the leading dot ('.') character.
public string Extension { get; set; }
Property Value
- string
Height
The asset height in pixels.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? Height { get; set; }
Property Value
- int?
Remarks
Available only for images, null
for other asset types.
Identifier
Asset GUID.
public Guid Identifier { get; set; }
Property Value
- Guid
LastModified
Date of last modification.
public DateTime LastModified { get; set; }
Property Value
- DateTime
Name
Asset name containing extension.
public string Name { get; set; }
Property Value
- string
Size
Asset size in bytes.
public long Size { get; set; }
Property Value
- long
Width
The asset width in pixels.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? Width { get; set; }
Property Value
- int?
Remarks
Available only for images, null
for other asset types.