Appendix B. Options Dialog Categories, Subcategories, and Properties

Given the name of a category and a subcategory, the following code will display all the property items within the the subcategory. This example shows all the entries in the category “TextEditor” and the subcategory “Basic”:

image

You can get the list of categories and subcategories from the Windows registry under the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\MajorVersion.MinorVersion\AutomationProperties.

Get Practical Code Generation in .NET: Covering Visual Studio 2005, 2008, and 2010 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.