Export (0) Print
Expand All
Expand Minimize

UpdateCompletionFlags Enumeration

Specifies completion set flags.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

[FlagsAttribute]
public enum UpdateCompletionFlags

Member nameDescription
CSF_CUSTOMCOMMITIndicates that the language service handles how an item selected from the completion box is entered into the text editor. Use OnCommit to commit completions.
CSF_CUSTOMMATCHINGIndicates that the language service handles custom completion matching of text typed by the user. Use IVsCompletionSet::GetBestMatch to manage selections. If you do not specify CSF_CUSTOMMATCHING, then the view handles matching text to the available options in the completion set.
CSF_HAVEDESCRIPTIONSProvides a tip for items in the completion box. Use GetDescriptionText to provide text for at least some of the entries.
CSF_INITIALEXTENTKNOWNIndicates that the language service knows where on a line it wants to display items, and where the word boundaries are. Use GetInitialExtent to determine the initial word extent.
CSF_NOCASEMATCHINGDo not apply case sensitive matching.
CSF_NOCASEUNIQUENESSDo not apply case or character matching to determine uniqueness (for word completion). For example, "WEAR" could be matched to "year" using this setting, if "year" was the closest character match.
GBM_SELECTThe returned index should be selected.
GBM_UNIQUEThe returned index is the only appropriate match.
UCS_COMPLETEWORDAttempt word completion.
UCS_EXTENTCHANGEDExtent changed.
UCS_FLAGSCHANGEDFlags have changed.
UCS_NAMESCHANGEDNames or name count has changed.

UCS_* flags are passed to UpdateCompletionStatus.

CSF_* flags are returned from GetFlags.

GBM_* flags are returned from GetBestMatch.

COM Signature

From textmgr.idl:

Show:
© 2014 Microsoft