Condividi tramite


LanguagePreferences.GetSite Method

Definition

Gets the service provider.

public:
 IServiceProvider ^ GetSite();
public IServiceProvider GetSite ();
member this.GetSite : unit -> IServiceProvider
Public Function GetSite () As IServiceProvider

Returns

The IServiceProvider object that was passed to the constructor.

Remarks

This method is called only if you call it from your implementation of a language service.

Applies to