可移植类库:FileInfo ??? [英] Portable Class Library: FileInfo ???

查看:72
本文介绍了可移植类库:FileInfo ???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法访问可移植类库中的FileInfo吗?有什么替代解决方案?我将如何使用可移植类库中的FileInfo?


pianoboyCoder

I do not have access to the FileInfo in the Portable Class Library? What is the alternative solution to this? How would I use the FileInfo in the Portable Class Library?


pianoboyCoder

推荐答案

可移植类库中不能使用FileInfo,因为可移植类库是跨平台和系统的. IO适用于OS(Windows)

FileInfo can't be used in the Portable Class Library, because Portable Class Library is cross platform and System.IO is for OS(windows)

请参考 此线程.

Please refer to this thread.

谢谢


这篇关于可移植类库:FileInfo ???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆