Master Script

Build 1501 on 14/Nov/2017  This topic last edited on: 9/May/2012, at 13:03

Description

Returns the master id, using the object supplied as parameter.

Syntax

Dim masterid as Integer = Master(obj)

param

a generic object, that has a masterRef. Typically, it's the page object.

Code

  <Extension()> _

  Public Function Master(ByVal obj As IGenericAttrObj) As Integer

    Return GetInteger(obj, "masterRef")

  End Function

See also

Edition Script

Zone Script