【发布时间】:2017-09-22 01:18:50
【问题描述】:
我正在尝试使用 JSON 从 XML 填充 ddlCustomerType。我有一种方法可以为我提供关键和价值。
var listCustomerType = GlobalBind.GetXMLFullDetails("CustomerType", GlobalConstString.COMMON_SETTING_XML);
我的问题是我可以在 Quickwatch 中查看数据,但是当我尝试获取它时显示以下错误:
CS0122:'System.Collections.Generic.Mscorlib_DictionaryDebugView<string,string>' is inaccessible due to its protection level
Here you can check the image for same.
谁能告诉我如何获取记录?
【问题讨论】:
-
我发现用
internal sealed class Mscorlib_DictionaryDebugView<K, V>声明的类,那么listCustomerType是Sharepoint 相关列表吗?