Search Results for

    Show / Hide Table of Contents

    Class NameValueCollectionExtensions

    Summary description for NameValueCollectionExtensions.

    Inheritance
    System.Object
    NameValueCollectionExtensions
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Common.Lib.Collections
    Assembly: ImageVault.Common.dll
    Syntax
    public static class NameValueCollectionExtensions
    Remarks

    2011-08-10 dan: Created

    Methods

    GetBool(NameValueCollection, String)

    Declaration
    public static bool GetBool(this NameValueCollection col, string key)
    Parameters
    Type Name Description
    System.Collections.Specialized.NameValueCollection col
    System.String key
    Returns
    Type Description
    System.Boolean

    ToQuery(NameValueCollection)

    Converts the dictionary to a key=value string where each key/value are url encoded and concatenated with a & char

    Declaration
    public static string ToQuery(this NameValueCollection col)
    Parameters
    Type Name Description
    System.Collections.Specialized.NameValueCollection col
    Returns
    Type Description
    System.String
    In This Article
    Back to top (c) Meriworks 2002-2022