Tag: compact framework2.0

我需要做些什么来使这个代码在Portable Class Library中工作?

我想知道可移植类库在function上是否比Compact Framework更受限制。 我正在尝试将CF / Windows CE应用程序(在手持设备上运行)移植到Xamarin解决方案,该解决方案将针对Android,iOS,Windows Phone以及其他东西。 但是,我遇到的一个问题是这个遗留代码(在CF下运行): public static List GetXMLFiles(string fileType, string startingDir) { const string EXTENSION = “.XML”; string dirName = startingDir; // call it like so: GetXMLFiles(“ABC”, “\\”); <= I think the double-whack is what I need for Windows CE device…am I right? var fileNames = new List(); try { foreach […]

在Compact Framework中更改文件LastWriteDate

FileSystemInfo.LastWriteTime属性在CF中只读。 有没有其他方法来改变那个日期?