Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
Gets the specified value provider.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Function GetValue ( _
name As String _
) As ValueProviderResult
public ValueProviderResult GetValue(
string name
)
public:
ValueProviderResult^ GetValue(
String^ name
)
Parameters
- name
Type: System.String
The name of the value provider to get.
Return Value
Type: System.Web.Mvc.ValueProviderResult
The value provider.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The name parameter is null reference (Nothing in Visual Basic) or empty. |