NameValuePairsValueProvider Constructor (IEnumerable<KeyValuePair<String, String>>, CultureInfo)
Initializes a new instance of the NameValuePairsValueProvider class.
Namespace: System.Web.Http.ValueProviders.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
values As IEnumerable(Of KeyValuePair(Of String, String)), _
culture As CultureInfo _
)
'Usage
Dim values As IEnumerable(Of KeyValuePair(Of String, String))
Dim culture As CultureInfo
Dim instance As New NameValuePairsValueProvider(values, _
culture)
public NameValuePairsValueProvider(
IEnumerable<KeyValuePair<string, string>> values,
CultureInfo culture
)
public:
NameValuePairsValueProvider(
IEnumerable<KeyValuePair<String^, String^>>^ values,
CultureInfo^ culture
)
new :
values:IEnumerable<KeyValuePair<string, string>> *
culture:CultureInfo -> NameValuePairsValueProvider
public function NameValuePairsValueProvider(
values : IEnumerable<KeyValuePair<String, String>>,
culture : CultureInfo
)
Parameters
values
Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>The name/value pairs for the provider.
culture
Type: System.Globalization.CultureInfoThe culture used for the name/value pairs.
See Also
Reference
NameValuePairsValueProvider Class