共用方式為


IVsIntellisenseHost.GetHostFlags Method

Gets the IntelliSense host flags from the IntellisenseHostFlags enumeration.

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

Syntax

'宣告
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

Parameters

  • pdwFlags
    Type: System.UInt32%
    [out, retval] The IntelliSense host flags.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

C++

From singlefileeditor.idl:

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

.NET Framework Security

See Also

Reference

IVsIntellisenseHost Interface

Microsoft.VisualStudio.TextManager.Interop Namespace