Share via


IVsTextManager3.PrimeExpansionManager(Guid) Method

Definition

Asynchronously prepares the expansion manager to support the given language.

public:
 int PrimeExpansionManager(Guid % guidLang);
public int PrimeExpansionManager (ref Guid guidLang);
abstract member PrimeExpansionManager : Guid -> int
Public Function PrimeExpansionManager (ByRef guidLang As Guid) As Integer

Parameters

guidLang
Guid

[in] The language to be supported.

Returns

Returns S_OK if the method is successful; otherwise, returns an error code.

Remarks

Calling this method is optional. However, if this method has not been called for a particular language, the first call to the expansion manager for that language will synchronously block until the necessary preparation is completed.

Applies to