title: Why is [Windows::Foundation::Metadata::WebHostHidden] added by default in custom WinRT C++/CX controls?
body: <p>When I create a new control in a WinRT C++/CX project, the class attribute <code>[Windows::Foundation::Metadata::WebHostHidden]</code> is added by default by Visual Studio 2012. </p>
  
  <p>Example:</p>
  
  <pre><code>namespace WindowsRuntimeComponent1
  {
      [Windows::Foundation::Metadata::WebHostHidden]
      public ref class MyUserControl sealed
      {
      public:
          MyUserControl();
      };
  }
  </code></pre>
  
  <ul>
  <li>Is there any documented reason for this?  (I did my homework but I
  failed to find this piece of information)</li>
  <li>As far as I know, using the attribute <code>[WebHostHidden]</code> makes the class
  invisible for WinRT HTML/Javascript projects. Does this mean that I
  cannot create a control in C++/CX that can be used in Javascript?</li>
  </ul>