RouteValueProvider.GetValue(String) Method

Definition

Retrieves a value object using the specified key.

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