我怎么知道什么参考包括导入特定的.NET命名空间?

编程入门 行业动态 更新时间:2024-10-24 11:21:53
本文介绍了我怎么知道什么参考包括导入特定的.NET命名空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

这是参照a问题我有,我是能够找到解决这里堆栈 溢

This is in reference to a problem I had which I was able to find the solution to here on StackOverflow.

这不是我的问题,但它是完全一样的问题,我有。我怎么知道,我需要导入特定的DLL文件使用一个特定的命名空间?我认为没有提及这对无论是MSDN页面或对象资源管理器,甚至 没ReSharper的牛逼拿起它。这是任何地方提及?

This wasn't my question, but it was the same exact problem I had. How do I know that I need to import a specific DLL file to use a specific namespace? I saw no reference to this on either the MSDN page or the Object Explorer, and even ReSharper didn't pick up on it. Is this referenced anywhere?

推荐答案

从msdn.microsoft/en-us/library/system.runtime.serialization.json.datacontractjsonserializer.aspx:

序列化对象的JavaScript对象符号(JSON)和反序列化JSON数据对象。此类不能被继承。

Serializes objects to the JavaScript Object Notation (JSON) and deserializes JSON data to objects. This class cannot be inherited.

命名空间: System.Runtime.Serialization.Json 大会:System.ServiceModel.Web(在System.ServiceModel.Web.dll)

Namespace: System.Runtime.Serialization.Json Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)

更多推荐

我怎么知道什么参考包括导入特定的.NET命名空间?

本文发布于:2023-10-17 10:37:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1500667.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:我怎么   空间   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!