Click or drag to resize

IAssetFolderAsset Method


Retrieves a single asset from an asset folder in the Assets Tree within a particular Site.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
IAsset Asset(
	string fileName
)

Parameters

fileName  String
The given potential file name to check for.

Return Value

IAsset
Specified asset by file name.
Example
Example of Asset method in custom hook:
C#
if(session.Site.Asset("a/535") != null){
    //Additional Actions
}
See Also