Partager via


AuthoringSink.StartParameters(TextSpan) Method

Definition

The StartParameters, Parameter and EndParameter methods are called in support of method tip intellisense (ECMD_PARAMINFO). [StartParameters] is called when the parameters of a method are started, ie. "(". [Parameter] is called on the start of a new parameter, ie. ",". [EndParameter] is called on the end of the paramters, ie. ")".

public:
 virtual void StartParameters(Microsoft::VisualStudio::TextManager::Interop::TextSpan context);
public:
 virtual void StartParameters(Microsoft::VisualStudio::TextManager::Interop::TextSpan context);
 virtual void StartParameters(Microsoft::VisualStudio::TextManager::Interop::TextSpan context);
public virtual void StartParameters (Microsoft.VisualStudio.TextManager.Interop.TextSpan context);
abstract member StartParameters : Microsoft.VisualStudio.TextManager.Interop.TextSpan -> unit
override this.StartParameters : Microsoft.VisualStudio.TextManager.Interop.TextSpan -> unit
Public Overridable Sub StartParameters (context As TextSpan)

Parameters

context
TextSpan

[in] A TextSpan object indicating the character or characters that start the parameter list.

Remarks

If the MethodParameters property returns true, this method is called when the start of a method's parameter list is parsed, typically "(".

The base method validates the TextSpan object, saves the current list of names (called Names) and source locations (called SourceLocations) on to a call stack (called MethodCalls), and then starts a new list of names and source locations.

Applies to