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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。