| IRegistrationBuilderTLimit, TActivatorData, TRegistrationStyleKeyedTService Method (Object) | 
 
            Provide a key that can be used to retrieve the component.
            
 
    Namespace: 
   Autofac.Builder
    Assembly:
   Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
 Syntax
SyntaxIRegistrationBuilder<TLimit, TActivatorData, TRegistrationStyle> Keyed<TService>(
	Object serviceKey
)
Function Keyed(Of TService) ( 
	serviceKey As Object
) As IRegistrationBuilder(Of TLimit, TActivatorData, TRegistrationStyle)
Parameters
- serviceKey
- Type: SystemObject
 Key to associate with the component.
Type Parameters
- TService
- The service type provided by the component.
Return Value
Type: 
IRegistrationBuilderTLimit, 
TActivatorData, 
TRegistrationStyleA registration builder allowing further configuration of the component.
 See Also
See Also