How to overloading methods in Visual Basic .NET or in Visual Basic 2005 (311330)
The information in this article applies to:
- Microsoft Visual Basic 2005
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
This article was previously published under Q311330 SUMMARY
This article provides sample code for overloading in Visual Basic .NET or in Visual Basic 2005. Overloading is the ability to define properties, methods, or procedures that have the same name but use different data types. Overloaded procedures appear as a single, versatile procedure but allow you to provide as many implementations as necessary to handle different kinds of data.
Overloading is especially useful when your object model dictates that you employ identical names for procedures that operate on different data types.
REFERENCES
For more information about overloading in Visual Basic .NET or in Visual Basic 2005, refer to the following topics in the Visual Studio .NET or Visual Studio 2005 Online Help documentation:
- Rules of Procedure Overloading
- Considerations in Overloading Procedures
- Overload Resolution
Modification Type: | Minor | Last Reviewed: | 10/3/2006 |
---|
Keywords: | kbvs2005swept kbvs2005applies kbinfo KB311330 kbAudDeveloper |
---|
|