Compartilhar via


IVsTextManager3.PrimeExpansionManager Method

Asynchronously prepares the expansion manager to support the given language.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.11.0 (in Microsoft.VisualStudio.TextManager.Interop.11.0.dll)

Syntax

'Declaration
Function PrimeExpansionManager ( _
    ByRef guidLang As Guid _
) As Integer
int PrimeExpansionManager(
    ref Guid guidLang
)
int PrimeExpansionManager(
    [InAttribute] Guid% guidLang
)
abstract PrimeExpansionManager : 
        guidLang:Guid byref -> int
function PrimeExpansionManager(
    guidLang : Guid
) : int

Parameters

  • guidLang
    Type: System.Guid%

    [in] The language to be supported.

Return Value

Type: System.Int32
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.

.NET Framework Security

See Also

Reference

IVsTextManager3 Interface

Microsoft.VisualStudio.TextManager.Interop Namespace