共用方式為


FormCollection.GetValue(String) 方法

定義

取得指定的值提供者。

public System.Web.Mvc.ValueProviderResult GetValue(string name);
member this.GetValue : string -> System.Web.Mvc.ValueProviderResult
Public Function GetValue (name As String) As ValueProviderResult

參數

name
String

要取得之值提供者的名稱。

傳回

值提供者。

實作

例外狀況

參數 name 為 Null 或空白。

適用於