0 of 1 found this page helpful

AddToNameValueCollection Extension Method

    AddToNameValueCollection(this NameValueCollection collection, IEnumerable<KeyValuePair<string,string>> enumerable)

    public static NameValueCollection AddToNameValueCollection(this NameValueCollection collection, IEnumerable<KeyValuePair<string,string>> enumerable);
    Add an enumerable of key value pairs to a NameValueCollection.

    Parameters

    Name Type Description
    collection NameValueCollection NameValue collection to add pairs to.
    enumerable IEnumerable<KeyValuePair<string,string>> An enumerable of key/value pairs

    Returns

    Type: NameValueCollection
    The same collection provided as input to allow call chaining.
    Was this page helpful?
    Tag page
    Viewing 1 of 1 comments: view all
    Need an example of how this works
    Posted 20:04, 5 Jan 2011
    Viewing 1 of 1 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by