IVsTextManager3.PrimeExpansionManager 方法

Asynchronously prepares the expansion manager to support the given language.

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.11.0(在 Microsoft.VisualStudio.TextManager.Interop.11.0.dll 中)

语法

声明
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

参数

  • guidLang
    类型:Guid%

    [in] The language to be supported.

返回值

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

备注

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 安全性

请参阅

参考

IVsTextManager3 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间