您的位置:首页 > 产品设计 > UI/UE

NameValueCollectionValueProvider

2015-07-03 13:20 477 查看
NameValueCollectionValueProvider provider = new NameValueCollectionValueProvider(nameValueCollection,
CultureInfo.InstalledUICulture);
if(Type==typeof(string)){

var a = provider.GetValue("a").AttemptedValue;

} else {

var a = provider.GetValue("a").convert(Type)

}


  可以把Requert传进去 假如字段类型为字符串 就能获取以逗号分隔的字符串,
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: