Freigeben über


IVsTextManager3.PrimeExpansionManager-Methode

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

Parameter

  • guidLang
    Typ: Guid%

    [in] The language to be supported.

Rückgabewert

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

Hinweise

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-Sicherheit

Siehe auch

Referenz

IVsTextManager3 Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace