摘要: 最先我需要在IIS下创建虚拟目录,用的是DirecotryEntry这个类,怎么也不能,总会报![System.Runtime.InteropServices.COMException]{"未知错误(0x80005000)"}  这个错误。privatestaticvoidTestDirectoryEntry(){  try  {    stringpath="IIsWebService://"+... 阅读全文
posted @ 2009-01-04 19:53 Dsw 阅读(1001) 评论(0) 推荐(1)
摘要: String.IndexOfString.IndexOf 方法 (Char, Int32, Int32)报告指定字符在此实例中的第一个匹配项的索引。搜索从指定字符位置开始,并检查指定数量的字符位置。String.IndexOf(value, startIndex, count)参数value:要查找的 Unicode 字符。 startIndex:搜索起始位置。 count:要检查的字符位置数。返... 阅读全文
posted @ 2009-01-04 19:34 Dsw 阅读(130991) 评论(1) 推荐(14)