Description
Returns all attributes of the zone to which a specific page is assigned.
To get a specific attribute, use the syntax as shown in the example
Syntax
ZonesFind(zoneId) |
zoneId
Id of the zone.
When dealing with pages, it is typically supplied as oPage.zoneRefAttr, where opage is defined as Dim oPage As Schema.Class.pageObj = EditorialLogin.Get().PageGet(Page.GetPageId)
Code
Public Function ZonesFind(ByVal id As Integer) As TeraDP.GN4.Schema.Class.zoneObj
Return Fred.Zones.GetAtId(id)
End Function
Example
Dim strZoneName As String = ZonesFind(oPage.zoneRefAttr).nameAttr
See also