By Ref

VisualBasic prefix for PassByReference parameters.

MisFeature of VisualBasic. Needed to support returning data in event handlers, but potentially deadly elsewhere.

Also have to use it when passing (COM) objects. (And VisualBasic does not have relevant "const" support to make up for it.)

See also: ByRefConsideredHarmful.


CategoryVisualBasic


EditText of this page (last edited February 6, 2009) or FindPage with title or text search