O'Reilly logo

Microsoft® Visual Basic® 2010 Developer’s Handbook by Klaus Löffelmann and Sarika Calla Purohit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Generate From Usage Feature

With the Generate From Usage feature, you can generate classes and members from the consumption site. You can generate a stub for any class, constructor, method, property, field, or enum that you want to use but have not yet defined, all without leaving your current code location. This feature minimizes interruption to your workflow. The feature was added as an extension to the error-correction functionality in Visual Basic. To invoke the feature, click the small red rectangle (called a glyph or smart tag) or double-click the corresponding item in the error list. Alternatively, you can use the shortcut key combintations Shift+Alt+F10 or Ctrl+Period.

For example, you can use the feature to create the code elements ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required