Share via


IValueProvider.GetValue(String) Method

Definition

Retrieves a value object using the specified key.

public:
 Microsoft::AspNetCore::Mvc::ModelBinding::ValueProviderResult GetValue(System::String ^ key);
public Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult GetValue (string key);
abstract member GetValue : string -> Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult
Public Function GetValue (key As String) As ValueProviderResult

Parameters

key
String

The key of the value object to retrieve.

Returns

The value object for the specified key. If the exact key is not found, None.

Applies to