Compartilhar via


CompletionSet.GetFlags Method

Gets a set of flags specifying the behavior of the completion list.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Function GetFlags As UInteger
public virtual uint GetFlags()
public:
virtual unsigned int GetFlags()
abstract GetFlags : unit -> uint32  
override GetFlags : unit -> uint32
public function GetFlags() : uint

Return Value

Type: UInt32
A set of flags from the UpdateCompletionFlags enumeration; specifically, from the CSF_* group.

Implements

IVsCompletionSet.GetFlags()

Remarks

The flags specify what is displayed in the completion list, and what methods can be called while the completion list is active.

This method is an implementation of the GetFlags method on the IVsCompletionSet interface.

The base method always returns the flags CSF_HAVEDESCRIPTIONS | CSF_CUSTOMCOMMIT | CSF_INITIALEXTENTKNOWN | CSF_CUSTOMMATCHING.

.NET Framework Security

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Package Namespace