對輸入參數進行集合驗證Validate Set of Inputshttp://powershell.com/cs/blogs/tips/archive/2010/08/18/validate-set-of-inputs.aspx限制輸入的參數只能是指定一個集合裡面的成員:function Get-24hEventLogEntries { param( [String] [ValidateSet('System','Application')]
在codeplex上發現的一個不錯的項目: 以下是一些示範連結:Animated dashboard functionalityScrolling LED Matrix display (Demo and tutorial available)Odometer (Demo and tutorial available)Thermometer (Demo and tutorial available)Wall thermometer (Demo and tutorial
原文地址:http://app.en25.com/e/es.aspx?s=1403&e=4900&elq=127ab4a62a414c678d62945aef96e118原文:You will discover that Out-Printer can print results to your default printer. You can also print to any other printer when you specify its
在silverlight.net上看到的關於silverlight的下一個版本的資訊,原文如下: Next year we will ship our next major Silverlight release -- Silverlight 3. Silverlight 3 will include major media enhancements (including H.264 video support), major graphics improvements (including
原文地址:http://app.en25.com/e/es.aspx?s=1403&e=5072&elq=a8251b41fe1a4d6297a0aecd8e466373原文:Did you know that you can compile any .NET source code on the fly and use this to create your own types? Here is an example illustrating how to create a
在安裝完相關開發工具後,建立Silverlight相關項目如果出現如下錯誤:Could not load type 'Microsoft.VisualStudio.Web.Silverlight.IVsSilverlightService' from assembly 'Microsoft.VisualStudio.Web.Application, Version=9.0.0.0, Culture=meutral,
原文地址:http://create.msdn.com/en-US/education/quickstarts/Types_of_Controls 【譯者注:這篇文章是翻譯自微軟官方的WP7 QuickStart的第四篇,講述WP下控制項的不同的類型。部分內容加入了自己的理解和表達習慣。而翻譯此系列的主要目的一是為了練習英語,二是讓自己作為一個BI開發人員對WP7的開發有一個瞭解。部分翻譯不當的地方望各位高人指出批評指正】 Windows
原文地址:http://create.msdn.com/zh-CN/education/quickstarts/Layout_on_the_Screen 【譯者注:這篇文章是翻譯自微軟官方的WP7 QuickStart的第七篇,講述WP下的布局。部分內容加入了自己的理解和表達習慣。而翻譯此系列的主要目的一是為了練習英語,二是讓自己作為一個BI開發人員對WP7的開發有一個瞭解。部分翻譯不當的地方望各位高人指出批評指正】 Windows
原文地址:http://app.en25.com/e/es.aspx?s=1403&e=4914&elq=a3fdfdb4961d4feabec6e309570c5e33原文:PowerShell is great for parsing log files. Here is a function that extracts all installed Windows updates from an internal log file and returns the
原文地址:http://app.en25.com/e/es.aspx?s=1403&e=5125&elq=52bc48204cc748d58a54ab9a57b6b796原文:Adding parameters to your functions is fairly easy. You can add a param() block and specify the parameters. But what if you wanted to assign values to