
C#学习笔记
文章平均质量分 70
myrayes
这个作者很懒,什么都没留下…
展开
-
C#中调用VB函数
在C#中调用Microsoft.VisualBasic命名空间下的类型验证函数http://www.1-100.org/AspNet/12682.htm 大家都知道VB.NET中有很多C#没有的函数,但这些函数却很好用:比如在C#中要重命名一个文件名,必须使用File.Move();方法,但如果文件很大的时候就比较麻烦了。而在VB.NET可以直接调用Rename(OldPath原创 2006-11-07 20:29:00 · 4415 阅读 · 0 评论 -
FileAttributes 枚举
FileAttributes 枚举http://msdn2.microsoft.com/zh-cn/library/system.io.fileattributes(VS.80).aspx转载 2006-11-07 20:31:00 · 703 阅读 · 0 评论 -
MSDN中SetAttributes例子拓展
MSDN例子: 示例下面的示例通过将 Archive 和 Hidden 属性应用于文件,演示了 GetAttributes 和 SetAttributes 方法。using System;using System.IO;using System.Text;class Test { public static void Main() { string path =原创 2006-11-10 00:38:00 · 715 阅读 · 0 评论