PCL(配置文件158)中的路径,FileInfo等 [英] Path, FileInfo, etc. in PCL (Profile 158)

查看:130
本文介绍了PCL(配置文件158)中的路径,FileInfo等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以串联文件和路径,但是如何使用PCL(配置文件158)检查文件是否存在.有可能吗?

I can concatenate files and paths, but how do I check for file existing using PCL (Profile 158). Is it possible?

推荐答案

诸如Windows Store和Silverlight之类的平台不支持这些API.这些平台具有允许访问存储的API,例如Windows.Storage和IsolatedStorage.您可以使用我的 PCL存储库或类似的方法以可移植的方式访问这些不同的API.

Platforms such as Windows Store and Silverlight don't support those APIs. Those platforms have APIs such as Windows.Storage and IsolatedStorage which allow access to storage. You can use my PCL Storage library or something similar to access those different APIs in a portable fashion.

这篇关于PCL(配置文件158)中的路径,FileInfo等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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