mscorlib(4.0.0.0) API with additions
|
Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects. More...
Public Member Functions | |
object | GetService (Type serviceType) |
Gets the service object of the specified type. More... | |
Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.
Definition at line 5 of file IServiceProvider.cs.
object System.IServiceProvider.GetService | ( | Type | serviceType | ) |
Gets the service object of the specified type.
serviceType | An object that specifies the type of service object to get. |
null
if there is no service object of type serviceType .Implemented in System.ComponentModel.Design.ServiceContainer, System.ComponentModel.MarshalByValueComponent, and System.ComponentModel.LicenseContext.