Abstract
Overloaded operators were first introduced to VB programmers with VB 2005. Just as you can overload methods, VB allows you to overload operators such as +, -, and *. In addition to overloading arithmetic operators, you can also create custom conversion operators to convert from one type to another and allow objects to be used in Boolean test expressions.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2008 Guy Fouché and Trey Nash
About this chapter
Cite this chapter
(2008). Operator Overloading. In: Accelerated VB 2008. Apress. https://doi.org/10.1007/978-1-4302-0339-1_7
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0339-1_7
Publisher Name: Apress
Print ISBN: 978-1-59059-874-0
Online ISBN: 978-1-4302-0339-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)