Megosztás a következőn keresztül:


LanguageServices Class

Definition

Per language services provided by the host environment.

public sealed class LanguageServices
type LanguageServices = class
Public NotInheritable Class LanguageServices
Inheritance
LanguageServices

Properties

Language

The name of the language

SolutionServices

Methods

GetRequiredService<TLanguageService>()

Gets a language specific service provided by the host identified by the service type. If the host does not provide the service, this method returns throws InvalidOperationException.

GetService<TLanguageService>()

Gets a language specific service provided by the host identified by the service type. If the host does not provide the service, this method returns null.

Applies to