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.6.492
Syntax
IAsset Item(
	string relationName,
	IAssetManager manager
)

Parameters

relationName  String
Name of the relation
manager  IAssetManager
Asset Manager instance, used to retrieve the actual Asset, normally use Session.Site

Return Value

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