参考MSDN: http://msdn.microsoft.com/en-us/library/ms916837.aspx#sharepoint_debugwebparts_topic6 转载于:https://www.cnblogs.com/perock/archive/2011/12/20/2294863.html