Creating Item Templates

Item templates represent the various items or files you can add to Visual Studio projects. Selecting Add New Item opens a dialog box that enables you to select from the various Visual Studio items (class files, for example). You can also create your own, custom items. Examples of custom items are timesaving devices that stub out the shell of a class or a fully implemented, specific type of class. Figure 7.42 shows the Add New Item dialog box with the custom item, DataFramework.

Figure 7.42 A custom item template in the Add New Item dialog box.

image

The good news is that you create item templates the same way you create project ...

Get Microsoft® Visual Studio® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.