ModelBindingExecutionContext.GetService<'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<'TService> method.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

abstract GetService<'TService> : unit -> 'TService
override GetService<'TService> : unit -> 'TService

Return Value

Type: TService

The object that contains values that are used for model binding.

Type Parameters

TService

The type of the object that contains values that are used for model binding.

.NET Framework
Available since 4.5
Return to top
Show: