共用方式為


IVsIntellisenseHost.GetHostFlags 方法

取得從 IntelliSense 主應用程式旗標IntelliSenseHostFlags列舉型別。

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

語法

'宣告
Function GetHostFlags ( _
    <OutAttribute> ByRef pdwFlags As UInteger _
) As Integer
int GetHostFlags(
    out uint pdwFlags
)
int GetHostFlags(
    [OutAttribute] unsigned int% pdwFlags
)
abstract GetHostFlags : 
        pdwFlags:uint32 byref -> int
function GetHostFlags(
    pdwFlags : uint
) : int

參數

  • pdwFlags
    類型:UInt32%

    [retval] outIntellisenseHostFlags 列舉型別從 IntelliSense 主應用程式旗標。

傳回值

類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。

備註

C++

從 singlefileeditor.idl:

HRESULT IVsIntellisenseHost::GetHostFlags([out, retval] DWORD *pdwFlags);

.NET Framework 安全性

請參閱

參考

IVsIntellisenseHost 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間