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.308
Syntax IAsset Item(
string relationName,
IAssetManager manager
)
Function Item (
relationName As String,
manager As IAssetManager
) As IAsset
IAsset^ Item(
String^ relationName,
IAssetManager^ manager
)
abstract Item :
relationName : string *
manager : IAssetManager -> IAsset
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