Share via


ServiceProvider.GetServiceImpl Method (Type)

Provides the implementation for retrieving a service of a specific type.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Protected Overridable Function GetServiceImpl ( _
    serviceType As Type _
) As Object
protected virtual Object GetServiceImpl(
    Type serviceType
)
protected:
virtual Object^ GetServiceImpl(
    Type^ serviceType
)
abstract GetServiceImpl : 
        serviceType:Type -> Object  
override GetServiceImpl : 
        serviceType:Type -> Object
protected function GetServiceImpl(
    serviceType : Type
) : Object

Parameters

Return Value

Type: System.Object
Returns the service of the specified type, or returns nulla null reference (Nothing in Visual Basic) if no service was found.

.NET Framework Security

See Also

Reference

ServiceProvider Class

GetServiceImpl Overload

Microsoft.VisualStudio.Data Namespace

IServiceProvider