摘要: http://wuxiquan.62.zqname.info/home.aspx 阅读全文
posted @ 2013-04-23 23:23 daishuguang 阅读(109) 评论(0) 推荐(0) 编辑
摘要: Visual Studio is C# development tool.It include an interactive development environment,visual designers for building Windows and Web applications, a compiler, and a debugger.All of these languages provides access to the Microsoft .NET Framework,which includes a common execution engine and a rich cla 阅读全文
posted @ 2013-04-23 22:59 daishuguang 阅读(178) 评论(0) 推荐(0) 编辑
摘要: csc /out:E:\my.exe File.cshttp://msdn.microsoft.com/en-us/library/vstudio/78f4aasd.aspx 阅读全文
posted @ 2013-04-23 22:18 daishuguang 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Differences Between C# Compiler and C++ Compiler OutputThere are no object(.obj) files created as result of invoking the C# compiler;output files are created directly.As a consequence of this,the C# compiler does not need a linker. 阅读全文
posted @ 2013-04-23 18:31 daishuguang 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 1.While the compiler does not have a seperate preprocessor,the directives described in this section are processed as if there was one;2.these directives are used to aid in conditional compilation.Unlike C and C++ directives,you cannot use these directives to create macros.3.A preprocessor directive 阅读全文
posted @ 2013-04-23 13:01 daishuguang 阅读(271) 评论(0) 推荐(0) 编辑
摘要: base Accesses the members of the base class.this Refers to the current instance of the class. 阅读全文
posted @ 2013-04-23 12:48 daishuguang 阅读(115) 评论(0) 推荐(0) 编辑
摘要: The null keyword is a literal that represents a null reference,(Note:null reference)one that does not refer to any object.null is the default value of reference-type variables.Link:http://msdn.microsoft.com/en-us/library/edakx9da%28v=vs.71%29.aspx 阅读全文
posted @ 2013-04-23 12:41 daishuguang 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Deploy.batView Code 1 Powershell.exe -Command Set-ExecutionPolicy "Bypass"2 Powershell.exe -Command "& {%~dp0InstallMain.ps1}"3 PauseInstallMain.ps1View Code 1 function UpdateContentTypeChild($sitecollectionurl) 2 { 3 $sitecol=Get-SPSite $sitecollectionurl 4 $rootweb=$sitecol 阅读全文
posted @ 2013-04-23 10:45 daishuguang 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 1 $splist.contenttypes["News"].fieldlinks.add($fieldlink)contenttypes中添加field的方法。下面这种则不起作用1 $splist.contenttypes["News"].fields.add($spfield)http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spcontenttype.fields.aspxhttp://hongzhguan.iteye.com/blog/1456881新建一个spfieldli 阅读全文
posted @ 2013-04-23 10:42 daishuguang 阅读(147) 评论(0) 推荐(0) 编辑
摘要: contentType.ReadOnly=[System.BooLean]::False------------起作用contentType.ReadOnly=[System.BooLean]::True-------------不起作用ContentType.ReadOnly=$true----------------------------------起作用ContentType.ReadOnly=$false---------------------------------不起作用 阅读全文
posted @ 2013-04-23 10:40 daishuguang 阅读(438) 评论(0) 推荐(0) 编辑