IVsIntellisenseHost.GetHostFlags Method
Gets the IntelliSense host flags from 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
用法
Dim instance As IVsIntellisenseHost
Dim pdwFlags As UInteger
Dim returnValue As Integer
returnValue = instance.GetHostFlags(pdwFlags)
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 flag from IntellisenseHostFlags enumeration.
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
- 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.