FormCollection 類別

定義

包含應用程式的表單值提供者。

public sealed class FormCollection : System.Collections.Specialized.NameValueCollection, System.Web.Mvc.IValueProvider
type FormCollection = class
    inherit NameValueCollection
    interface IValueProvider
Public NotInheritable Class FormCollection
Inherits NameValueCollection
Implements IValueProvider
繼承
FormCollection
實作

建構函式

FormCollection()

初始化 FormCollection 類別的新執行個體。

FormCollection(NameValueCollection)

初始化 FormCollection 類別的新執行個體。

方法

GetValue(String)

取得指定的值提供者。

ToValueProvider()

傳回包含值提供者的字典。

明確介面實作

IValueProvider.ContainsPrefix(String)

取得值,指出值提供者是否包含具有指定之前置詞的項目。

IValueProvider.GetValue(String)

使用指定的索引鍵,從值提供者取得值。

適用於