Search Results for

    Show / Hide Table of Contents
    View Source

    Class NameValueCollectionExtensions

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class NameValueCollectionExtensions

    Methods

    View Source

    AsEnumerable(NameValueCollection)

    Declaration
    public static IEnumerable<KeyValuePair<string, string>> AsEnumerable(this NameValueCollection nvc)
    Parameters
    Type Name Description
    System.Collections.Specialized.NameValueCollection nvc
    Returns
    Type Description
    IEnumerable<KeyValuePair<System.String, System.String>>
    View Source

    ContainsKey(NameValueCollection, String)

    Declaration
    public static bool ContainsKey(this NameValueCollection collection, string key)
    Parameters
    Type Name Description
    System.Collections.Specialized.NameValueCollection collection
    System.String key
    Returns
    Type Description
    System.Boolean
    View Source

    GetValue<T>(NameValueCollection, String, T)

    Declaration
    public static T GetValue<T>(this NameValueCollection collection, string key, T defaultIfNotFound)
    Parameters
    Type Name Description
    System.Collections.Specialized.NameValueCollection collection
    System.String key
    T defaultIfNotFound
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • AsEnumerable(NameValueCollection)
      • ContainsKey(NameValueCollection, String)
      • GetValue<T>(NameValueCollection, String, T)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX