NameValueCollectionValueProvider 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 NameValueCollectionValueProvider 类的新实例。
重载
NameValueCollectionValueProvider(NameValueCollection, CultureInfo) |
通过使用集合和区域性信息来初始化 NameValueCollectionValueProvider 类的新实例。 |
NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo) |
使用集合、未经过验证的集合版本和区域性信息初始化 NameValueCollectionValueProvider 类的新实例。 |
NameValueCollectionValueProvider(NameValueCollection, CultureInfo)
通过使用集合和区域性信息来初始化 NameValueCollectionValueProvider 类的新实例。
public:
NameValueCollectionValueProvider(System::Collections::Specialized::NameValueCollection ^ collection, System::Globalization::CultureInfo ^ culture);
public NameValueCollectionValueProvider (System.Collections.Specialized.NameValueCollection collection, System.Globalization.CultureInfo culture);
new System.Web.ModelBinding.NameValueCollectionValueProvider : System.Collections.Specialized.NameValueCollection * System.Globalization.CultureInfo -> System.Web.ModelBinding.NameValueCollectionValueProvider
Public Sub New (collection As NameValueCollection, culture As CultureInfo)
参数
- collection
- NameValueCollection
集合。
- culture
- CultureInfo
区域性信息。
适用于
NameValueCollectionValueProvider(NameValueCollection, NameValueCollection, CultureInfo)
使用集合、未经过验证的集合版本和区域性信息初始化 NameValueCollectionValueProvider 类的新实例。
public:
NameValueCollectionValueProvider(System::Collections::Specialized::NameValueCollection ^ collection, System::Collections::Specialized::NameValueCollection ^ unvalidatedCollection, System::Globalization::CultureInfo ^ culture);
public NameValueCollectionValueProvider (System.Collections.Specialized.NameValueCollection collection, System.Collections.Specialized.NameValueCollection unvalidatedCollection, System.Globalization.CultureInfo culture);
new System.Web.ModelBinding.NameValueCollectionValueProvider : System.Collections.Specialized.NameValueCollection * System.Collections.Specialized.NameValueCollection * System.Globalization.CultureInfo -> System.Web.ModelBinding.NameValueCollectionValueProvider
Public Sub New (collection As NameValueCollection, unvalidatedCollection As NameValueCollection, culture As CultureInfo)
参数
- collection
- NameValueCollection
集合。
- unvalidatedCollection
- NameValueCollection
未经过验证的集合。
- culture
- CultureInfo
区域性信息。