ModelBindingExecutionContext.TryGetService(Of TService) Method ()
.NET Framework (current version)
Gets an object that contains values that are used for model binding and that have been stored by using the PublishService(Of TService) method.
Assembly: System.Web (in System.Web.dll)
Return Value
Type: TServiceThe object that contains values that are used for model binding, or the default value of TService if the requested object is not found.
Type Parameters
- TService
The type of the object that contains values that are used for model binding.
.NET Framework
Available since 4.5
Available since 4.5
Show: