SimpleValueProvider.GetValue(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calls the FetchValue(String) method and then uses the returned value to instantiate a new instance of the ValueProviderResult class.
public:
virtual System::Web::ModelBinding::ValueProviderResult ^ GetValue(System::String ^ key);
public virtual System.Web.ModelBinding.ValueProviderResult GetValue (string key);
abstract member GetValue : string -> System.Web.ModelBinding.ValueProviderResult
override this.GetValue : string -> System.Web.ModelBinding.ValueProviderResult
Public Overridable Function GetValue (key As String) As ValueProviderResult
Parameters
- key
- String
The key of the value to retrieve.
Returns
The value.
Implements
Exceptions
The key
parameter is null
.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.