Skip to Main Content
Visual Basic 2015 Unleashed
book

Visual Basic 2015 Unleashed

by Alessandro Del Sole
July 2015
Intermediate to advanced content levelIntermediate to advanced
1300 pages
87h 27m
English
Sams
Content preview from Visual Basic 2015 Unleashed

Exporting Item Templates

You can export single items, such as classes or controls, to item templates you can later add to other projects. To see an example, add a new class to the current project and name it as DisposableClass.vb. The goal of the exercise is to provide a template for classes implementing the IDisposable interface. When ready, implement the IDisposable interface in the new class so Visual Studio will add required members. (You should write custom code for implementing the Disposable pattern, but this is not the goal of the exercise; see Chapter 8, “Managing an Object’s Lifetime,” for more information.) Now select again File, Export template. In the first dialog box of the wizard, select the Item template option (as shown in ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Visual Basic 2015

Beginning Visual Basic 2015

Bryan Newsome

Publisher Resources

ISBN: 9780134196664Purchase book