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
声明
Function WaitForReadyState As Integer
用法
Dim instance As IVsContainedLanguage
Dim returnValue As Integer
returnValue = instance.WaitForReadyState()
int WaitForReadyState()
int WaitForReadyState()
abstract WaitForReadyState : unit -> int
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.