共用方式為


IVsContainedLanguage.WaitForReadyState 方法

呼叫以確保準備被收納的語言。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop.8.0 (在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

語法

'宣告
Function WaitForReadyState As Integer
int WaitForReadyState()
int WaitForReadyState()
abstract WaitForReadyState : unit -> int
function WaitForReadyState() : int

傳回值

類型:Int32
如果成功的話,會傳回S_OK。 否則,會傳回錯誤碼。

備註

這個方法時,才會傳回之前被收納的語言已經準備好用。

COM 簽章

從 singlefileeditor.idl:

HRESULT IVsContainedLanguage::WaitForReadyState();

.NET Framework 安全性

請參閱

參考

IVsContainedLanguage 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間