Switch to: V12V11V10V9V8V7V6V5

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()

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()