Click or drag to resize

IAssetAdminContentDirect Interface


Used to access admin level content and actions on an asset. Cannot be accessed directly. A retrieved asset needs to be recast as IAssetAdminContentDirect.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
public interface IAssetAdminContentDirect

The IAssetAdminContentDirect type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleCheckedOutVersion
Gets the checked out version of the context asset.
Public propertyCode exampleCurrentVersion
Gets the current version of the context asset.
Top
Methods
  NameDescription
Public methodCode exampleUpdateSchema
Updates the schema that the asset was created from to match any changes to the asset.
Top
Examples
Example casting an Asset as IAssetAdminContentDirect in a custom hook:
C#
var assetItem = session.Site.Asset("a/100") as IAssetAdminContentDirect;
See Also