Can't programmatically access a specific options page in Visual Studio
<p>I can't seem to access the properties in Visual Studio's options programmatically. Specifically, I have an extension that I need to leverages TFS power tools. I would like to get the value of the folder where the Work Item Templates are stored. Going into the options they are stored at "Microsoft Team Foundation Server 2013 Power Tools -> Work Item Template". Following this <a href="https://msdn.microsoft.com/en-us/library/bb165648(v=vs.120).aspx" rel="nofollow">example</a>.</p>

<p><strong>NOTE:</strong> I am creating a visual studio package extension in VS 2013 for VS 2013.</p>

<p>I have tried retrieving basic options listed in the example and I am able to retrieve its properties. However not the options page's properties I am looking for.</p>

<p>I have tried the following:
Category and page - no spaces:</p>

<pre><code>DTE vsEnvironment = (DTE)GetService(typeof(SDTE));
Properties propertiesList = vsEnvironment.get_Properties("MicrosoftTeamFoundationServer2013PowerTools", "WorkItemTemplate");
</code></pre>

<p>Category and page - with spaces:</p>

<pre><code>DTE vsEnvironment = (DTE)GetService(typeof(SDTE));
Properties propertiesList = vsEnvironment.get_Properties("Microsoft Team Foundation Server 2013 Power Tools", "Work Item Template");
</code></pre>

<p>Each time I receive the following exception:
Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))</p>

<p>I have also tried using the same naming convention used in the registry(for whatever reason it differs from what the Tools->Options displays). Again, no dice. I have a feeling TFS Power Tools has not enabled the ability for COM objects to leverage it.</p>

<p>So my question; How do I programmatically retrieve an option page's key/value using my Visual Studio extension?</p>