Dela via


BindingSourceValueProvider.GetValue(String) Method

Definition

Retrieves a value object using the specified key.

public:
 abstract Microsoft::AspNetCore::Mvc::ModelBinding::ValueProviderResult GetValue(System::String ^ key);
public abstract Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult GetValue (string key);
abstract member GetValue : string -> Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResult
Public MustOverride 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.

Implements

Applies to