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
- serviceType
Type: System.Type
A service type.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.