創建文件夾System.IO.Directory.Exists(CreateDirectory)

判斷文件夾不存在的時候,創建文件夾; 調用System.IO. 創建代碼如下: //獲取基目錄,它由程序集衝突解決程序用來探測程序集。 string strSystemPath = System.AppDomain.CurrentDomain.BaseDirectory + 「image\」; if (!System.IO.Directory.Exists(strSystemPath)) { Sy
相關文章
相關標籤/搜索