IVsTextManager3::PrimeExpansionManager Method (Guid)

 

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)

int PrimeExpansionManager(
	[InAttribute] Guid% guidLang
)

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.

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.

Return to top
Show: