DictionaryValueProvider<TValue>.GetValue(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的索引鍵和控制器內容,傳回值物件。
public virtual System.Web.Mvc.ValueProviderResult GetValue (string key);
abstract member GetValue : string -> System.Web.Mvc.ValueProviderResult
override this.GetValue : string -> System.Web.Mvc.ValueProviderResult
Public Overridable Function GetValue (key As String) As ValueProviderResult
參數
- key
- String
要擷取之值物件的索引鍵。
傳回
指定之索引鍵的值物件。
實作
例外狀況
key
參數為 null。