If I have an OptionPage that is in a deeper level of an hierarchical structure the method call DTE.get_Properties("FirstLevelCategory\SecondLevelCategory", "Page1") will fail. It is not possible to get a Property.
Also tested with DTE.Properties[]. Regkeys CurrentUser/Software/Microsoft/Visual Studio/10/AutomationProperties/ properly registered.
Properties of Environment/Documents/ are available.
tested with:
Windows 7 Pro, Visual Studio 2010 and 2013
Greetings
Thomas
Sample Screenshots:
According to our PkgDef file the name is "Name"="TwinCAT\XAE Environment.General". But method call >>>get_Properties(@"TwinCAT\XAE Environment", "General") fails with badindex exception.
PkgDef snippet
[$RootKey$\ToolsOptionsPages\TwinCAT\XAE Environment]
@="#0"
"Package"="{a2350299-fb6a-4d16-bfaf-1d1a4a37a877}"
[$RootKey$\ToolsOptionsPages\TwinCAT\XAE Environment\General]
@="#0"
"Package"="{a2350299-fb6a-4d16-bfaf-1d1a4a37a877}"
"Page"="{cd20ef9b-1b41-4ac4-90a8-241ee85270c9}"
[$RootKey$\AutomationProperties\TwinCAT\XAE Environment\General]
"Name"="TwinCAT\XAE Environment.General"
"Package"="{a2350299-fb6a-4d16-bfaf-1d1a4a37a877}"