共用方式為


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.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'宣告
Public Overridable Sub NextParameter ( _
    context As TextSpan _
)
public virtual void NextParameter(
    TextSpan context
)

Parameters

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

See Also

Reference

AuthoringSink Class

Microsoft.VisualStudio.Package Namespace