AuthoringSink.NextParameter Method
Called when parsing a method parameter list and the parameter separator character has just been parsed.
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 (in Microsoft.VisualStudio.Package.LanguageService.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)
Syntax
'Declaration
Public Overridable Sub NextParameter ( _
context As TextSpan _
)
public virtual void NextParameter(
TextSpan context
)
public:
virtual void NextParameter(
TextSpan context
)
abstract NextParameter :
context:TextSpan -> unit
override NextParameter :
context:TextSpan -> unit
public function NextParameter(
context : TextSpan
)
Parameters
context
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan[in] A TextSpan object indicating the parameter separator character.
Remarks
If the MethodParameters property returns true, this method is called to indicate the end of one parameter and the start of another. For example, in C#, this method would be called if a "," is encountered while parsing a method parameter list.
The base method validates the given TextSpan object and then increments the number of parameters parsed so far.
.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.