Επεξεργασία

Κοινή χρήση μέσω


DesignerSerializationManager.GetService(Type) Method

Definition

Gets the requested service.

protected:
 virtual System::Object ^ GetService(Type ^ serviceType);
protected virtual object GetService (Type serviceType);
protected virtual object? GetService (Type serviceType);
abstract member GetService : Type -> obj
override this.GetService : Type -> obj
Protected Overridable Function GetService (serviceType As Type) As Object

Parameters

serviceType
Type

The type of service to retrieve.

Returns

The requested service, or null if the service cannot be resolved.

Remarks

The GetService method provides access to the underlying container or service provider that was set in the constructor.

Applies to