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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。