Share via


PexFactories.CreateNameValueCollection Method

Definition

A factory for System.Collections.Specialized.NameValueCollection instances

public:
 static System::Collections::Specialized::NameValueCollection ^ CreateNameValueCollection(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ values);
[Microsoft.Pex.Framework.PexFactoryMethod(typeof(System.Collections.Specialized.NameValueCollection))]
public static System.Collections.Specialized.NameValueCollection CreateNameValueCollection (System.Collections.Generic.KeyValuePair<string,string>[] values);
[<Microsoft.Pex.Framework.PexFactoryMethod(typeof(System.Collections.Specialized.NameValueCollection))>]
static member CreateNameValueCollection : System.Collections.Generic.KeyValuePair<string, string>[] -> System.Collections.Specialized.NameValueCollection
Public Shared Function CreateNameValueCollection (values As KeyValuePair(Of String, String)()) As NameValueCollection

Parameters

values
KeyValuePair<String,String>[]

the list of values

Returns

the generated collection

Attributes

Applies to