LanguageService.GetService(Type) Method

Definition

Returns a service object that can be cast to a specific interface.

public object GetService (Type serviceType);
Parameters
serviceType
Type

[in] The GUID of the service to get.

Returns

If successful, returns an object that can be cast to a desired interface; otherwise, returns a null value (the service does not exist or is not available).

Remarks

A service proffers at least one interface and other, related interfaces can be obtained from either the service or another interface.

Applies to