PexFactories.CreateNameValueCollection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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