Click or drag to resize

IAssetRelationsItem Method


Retrieves a related Asset by the relation name.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
IAsset Item(
	string relationName,
	IAssetManager manager
)

Parameters

relationName
Type: SystemString
Name of the relation
manager
Type: Ingeniux.CMSIAssetManager
Asset Manager instance, used to retrieve the actual Asset, normally use Session.Site

Return Value

Type: IAsset
Related Asset marked by relation name, or null if relation doesn't exist
See Also