共用方式為


IVsTextView.UpdateCompletionStatus(IVsCompletionSet, UInt32) Method

Definition

Used for word completion control.

public:
 int UpdateCompletionStatus(Microsoft::VisualStudio::TextManager::Interop::IVsCompletionSet ^ pCompSet, System::UInt32 dwFlags);
public:
 int UpdateCompletionStatus(Microsoft::VisualStudio::TextManager::Interop::IVsCompletionSet ^ pCompSet, unsigned int dwFlags);
int UpdateCompletionStatus(Microsoft::VisualStudio::TextManager::Interop::IVsCompletionSet const & pCompSet, unsigned int dwFlags);
public int UpdateCompletionStatus (Microsoft.VisualStudio.TextManager.Interop.IVsCompletionSet pCompSet, uint dwFlags);
abstract member UpdateCompletionStatus : Microsoft.VisualStudio.TextManager.Interop.IVsCompletionSet * uint32 -> int
Public Function UpdateCompletionStatus (pCompSet As IVsCompletionSet, dwFlags As UInteger) As Integer

Parameters

pCompSet
IVsCompletionSet

[in] Pointer to a completion set object.

dwFlags
UInt32

[in] Flags specifying completion status options. For a list of dwFlags values, see UpdateCompletionFlags.

Returns

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  
);  

Applies to