Compartilhar via


ViewFilter.OnAutoComplete Method

Definition

Called when the AUTOCOMPLETE command is received.

public:
 virtual void OnAutoComplete();
public:
 virtual void OnAutoComplete();
 virtual void OnAutoComplete();
public virtual void OnAutoComplete ();
abstract member OnAutoComplete : unit -> unit
override this.OnAutoComplete : unit -> unit
Public Overridable Sub OnAutoComplete ()

Remarks

This method process the auto-complete command.

The base method forwards the call to the OnAutoComplete method on the Source class's CompletionSet object. If the CompletionSet 's OnAutoComplete method returns a non-zero character, that character is entered into the source buffer, allowing it to trigger any additional IntelliSense behaviors such as formatting the source.

Applies to