One of the first challenges encountered when programming against the DTE Properties collection is determining the exact names to use in the DTE.Properties call. Each setting has a specific name that is used to access its value. The name is derived from the title displayed in the Tools Options page. For example, DTE.Properties("FontsAndColors", "TextEditor") is used to access the settings for the Fonts and Colors, Environment, Options Dialog Box.
These names are stored in the Windows registry hive, HKLM\SOFTWARE\Microsoft\VisualStudio\8.0\AutomationProperties.
If a particular setting does not appear in the following list, then its values cannot be programmatically accessed by using Visual Studio automation. This list of properties is not affected by choosing different settings, because settings only filter the nodes you see on the Tools Options dialog box. Settings do not remove nodes.
Property Item Names
Following is a complete list of the available option pages or setting names:
Remember, this list contains only items that can be programmatically accessed in Visual Studio.
See Also