简体   繁体   English

Windows Phone:类库中的IsolatedStorageSettings

[英]Windows Phone: IsolatedStorageSettings in class library

I'm trying to create helper library for Windows Phone. 我正在尝试为Windows Phone创建帮助程序库。 So, I've created class library project, and I want to write helpers for IsolatedStorageSettings . 因此,我已经创建了类库项目,并且想为IsolatedStorageSettings编写帮助程序。 But class library can find only IsolatedStorageFile . 但是类库只能找到IsolatedStorageFile Is there a way to work with IsolatedStorageSettings from class library? 有没有一种方法可以使用类库中的IsolatedStorageSettings Thanks a lot! 非常感谢!

You need to reference System.Windows.dll, where IsolatedStorageSettings is defined. 您需要引用System.Windows.dll,其中定义了IsolatedStorageSettings。

Whenever you need to use a class in the framework and you don't know where it is, simply go to the docs and look at the top... 每当您需要在框架中使用某个类而又不知道它在哪里时,只需转到文档并查看顶部即可。

Inheritance Hierarchy 继承层次
System.Object System.Object的
System.IO.IsolatedStorage.IsolatedStorageSettings System.IO.IsolatedStorage.IsolatedStorageSettings
Namespace: System.IO.IsolatedStorage 命名空间:System.IO.IsolatedStorage
Assembly: System.Windows (in System.Windows.dll) 程序集:System.Windows(在System.Windows.dll中)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM