Table of Contents
VLink Class: Casting Methods
VLink.AsVObjectPtr
Declaration:
AsVObjectPtr() as VObjectPtr
Description:
Returns this VLink as VObjectPtr object. In case this link is not VObjectPtr then nil is returned.
Example:
dim link as VLink dim ptr as VObjectPtr link = tblPhone.Field( "fldPersonPtr" ) ptr = link.AsVObjectPtr()
VLink.AsVBinaryLink
Declaration:
AsVBinaryLink() as VBinaryLink
Description:
Returns this VLink as VBinaryLink object. In case this link is not VBinaryLink then nil is returned.
Example:
dim link as VLink dim linkBinary as VBinaryLink link = tblPhone.Link( "linkPersonPhone" ) linkBinary = link.AsVBinaryLink()