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)

abstract GetService : 
        service:Type -> Object
override GetService : 
        service:Type -> Object


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
© 2015 Microsoft