GetService Method
Collapse the table of content
Expand the table of content

MarshalByValueComponent.GetService Method (Type)

 

Gets the implementer of the IServiceProvider.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

Public Overridable Function GetService (
	service As Type
) As Object

Parameters

service
Type: System.Type

A Type that represents the type of service you want.

Return Value

Type: System.Object

An Object that represents the implementer of the IServiceProvider.

For more information on designer services you can use, see Design-Time Architecture.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft