Share via


IVsContainedLanguage.WaitForReadyState Method

Called to ensure the contained language is ready.

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

Syntax

'Declaration
Function WaitForReadyState As Integer
'Usage
Dim instance As IVsContainedLanguage 
Dim returnValue As Integer 

returnValue = instance.WaitForReadyState()
int WaitForReadyState()
int WaitForReadyState()
function WaitForReadyState() : int

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Remarks

This method does not return until the contained language is ready to be used.

COM Signature

From singlefileeditor.idl:

HRESULT IVsContainedLanguage::WaitForReadyState();

.NET Framework Security

See Also

Reference

IVsContainedLanguage Interface

IVsContainedLanguage Members

Microsoft.VisualStudio.TextManager.Interop Namespace