Methods


A method executes code associated with a control. The method can be a function that returns a value or a subroutine that does not return a value. Methods can take parameters just like any other function or subroutine.

Because methods execute code, you cannot invoke them at design time. You can only invoke them using code at runtime.

Appendix A summarizes the Control class’s most important methods. Controls that inherit from the Control class also inherit these methods unless they have overridden the Control class’s behavior.




Visual Basic 2005 with  .NET 3.0 Programmer's Reference
Visual Basic 2005 with .NET 3.0 Programmer's Reference
ISBN: 470137053
EAN: N/A
Year: 2007
Pages: 417

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net