Gets the implementer of the IServiceProvider.
Assembly: System (in System.dll)
Syntax . . :: . Object
An Object that represents the implementer of the IServiceProvider.
. . :: . GetService(Type)
Public Overridable Function GetService ( _
service As Type _
) As Objectpublic virtual Object GetService(
Type service
)public:
virtual Object^ GetService(
Type^ service
)abstract GetService :
service:Type -> Object
override GetService :
service:Type -> Object Parameters
- service
- Type: System
. . :: . Type
A Type that represents the type of service you want.
Return Value
Type: SystemAn Object that represents the implementer of the IServiceProvider.
Implements
IServiceProvider Remarks
For more information on designer services you can use, see Design-Time Architecture.
Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.