IVsTextView.UpdateCompletionStatus Method
Used for word completion control.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣言
Function UpdateCompletionStatus ( _
pCompSet As IVsCompletionSet, _
dwFlags As UInteger _
) As Integer
'使用
Dim instance As IVsTextView
Dim pCompSet As IVsCompletionSet
Dim dwFlags As UInteger
Dim returnValue As Integer
returnValue = instance.UpdateCompletionStatus(pCompSet, _
dwFlags)
int UpdateCompletionStatus(
IVsCompletionSet pCompSet,
uint dwFlags
)
int UpdateCompletionStatus(
[InAttribute] IVsCompletionSet^ pCompSet,
[InAttribute] unsigned int dwFlags
)
function UpdateCompletionStatus(
pCompSet : IVsCompletionSet,
dwFlags : uint
) : int
Parameters
pCompSet
Type: Microsoft.VisualStudio.TextManager.Interop.IVsCompletionSet[in] Pointer to a completion set object.
dwFlags
Type: System.UInt32[in] Flags specifying completion status options. For a list of dwFlags values, see UpdateCompletionFlags.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextView::UpdateCompletionStatus(
[in] IVsCompletionSet *pCompSet,
[in] DWORD dwFlags
);
Permissions
- 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.