CompletionSet.GetFlags Method
Gets a set of flags specifying the behavior of the completion list.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣告
Public Overridable Function GetFlags As UInteger
'用途
Dim instance As CompletionSet
Dim returnValue As UInteger
returnValue = instance.GetFlags()
public virtual uint GetFlags()
public:
virtual unsigned int GetFlags()
abstract GetFlags : unit -> uint32
override GetFlags : unit -> uint32
public function GetFlags() : uint
Return Value
Type: System.UInt32
A set of flags from the UpdateCompletionFlags enumeration; specifically, from the CSF_* group.
Implements
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
- 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.