<p><a href="http://visualstudiogallery.msdn.microsoft.com/4934b087-e6cc-44dd-b992-a71f00a2a6df?SRC=Home" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px;" title="image" src="http://hi.csdn.net/attachment/201105/15/0_13054450808b0D.gif" border="0" alt="image" width="765" height="456"></a></p>
<p>微软一站式示例代码库发布Visual Studio 2010示例代码搜索扩展。</p>
<p>该扩展将<a href="http://1code.codeplex.com/releases/view/64539" target="_blank">一站式示例代码浏览器</a>的功能集成到了Visual Studio 2010中。有了它,开发人员可以在Visual Studio 2010里面通过Alt+F1快捷键快速搜索和下载来自于一站式示例代码库的600个示例代码。</p>
<h2>安装</h2>
<p><strong>方法一</strong></p>
<p>访问 <a title="http://visualstudiogallery.msdn.microsoft.com/4934b087-e6cc-44dd-b992-a71f00a2a6df" href="http://visualstudiogallery.msdn.microsoft.com/4934b087-e6cc-44dd-b992-a71f00a2a6df">http://visualstudiogallery.msdn.microsoft.com/4934b087-e6cc-44dd-b992-a71f00a2a6df</a>,下载并安装</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px;" title="image" src="http://hi.csdn.net/attachment/201105/15/0_1305445082gu11.gif" border="0" alt="image" width="506" height="276"></p>
<p><strong>方法二</strong></p>
<p>打开Visual Studio 2010。在<strong>Tools</strong>菜单中点击<strong>Extension Manager…</strong>菜单项。在打开的Extension Manager中点击<strong>Online Gallery</strong> tab页,搜索"search code sample"。你便会找到<strong>All-In-One Code Framework Sample Browser</strong>。点击下载并安装。</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px;" title="image" src="http://hi.csdn.net/attachment/201105/15/0_1305445083Nh5v.gif" border="0" alt="image" width="628" height="398"></p>
<h2>使用方法</h2>
<p>安装后,你可以通过以下任何一种方式启动示例代码搜索扩展。</p>
<p><strong>方法一</strong></p>
<p>按下<strong>ALT+F1</strong>快捷键。Sample Browser便会在Visual Studio 2010的主窗口打开。</p>
<p><strong>方法二</strong></p>
<p>在Visual Studio 2010的Tools菜单中点击<strong>Search Code Sample</strong>。</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px;" title="image" src="http://hi.csdn.net/attachment/201105/15/0_1305445084vaiA.gif" border="0" alt="image" width="396" height="193"></p>
<p><strong>方法三</strong></p>
<p>当你在编写代码时,你可以选中一段代码,然后按下<strong>ALT+F1</strong>快捷键,或右键然后在右键菜单中选择<strong>Search Code Sample</strong>。Sample Browser会启动并自动根据你选中的代码搜索相关的示例代码。</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px;" title="image" src="http://hi.csdn.net/attachment/201105/15/0_1305445086N1P1.gif" border="0" alt="image" width="335" height="290"></p>
<p></p>
<p>如你有任何反馈意见,欢迎联系我们:<a href="mailto:
[email protected]">
[email protected]</a> </p>