Redigera

Dela via


MarshalByValueComponent.GetService(Type) Method

Definition

Gets the implementer of the IServiceProvider.

public:
 virtual System::Object ^ GetService(Type ^ service);
public virtual object GetService (Type service);
public virtual object? GetService (Type service);
abstract member GetService : Type -> obj
override this.GetService : Type -> obj
Public Overridable Function GetService (service As Type) As Object

Parameters

service
Type

A Type that represents the type of service you want.

Returns

An Object that represents the implementer of the IServiceProvider.

Implements

Remarks

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

Applies to

See also