Επεξεργασία

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


ComponentTray.GetService(Type) Method

Definition

Gets the requested service type.

protected:
 override System::Object ^ GetService(Type ^ serviceType);
protected override object GetService (Type serviceType);
override this.GetService : Type -> obj
Protected Overrides Function GetService (serviceType As Type) As Object

Parameters

serviceType
Type

The type of the service to retrieve.

Returns

An instance of the requested service, or null if the service could not be found.

Applies to