Partager via


AuthoringSink.StartParameters Method

Called at the start of a method's parameter list.

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 StartParameters ( _
    context As TextSpan _
)
public virtual void StartParameters(
    TextSpan context
)
public:
virtual void StartParameters(
    TextSpan context
)
abstract StartParameters : 
        context:TextSpan -> unit  
override StartParameters : 
        context:TextSpan -> unit
public function StartParameters(
    context : TextSpan
)

Parameters

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.

.NET Framework Security

See Also

Reference

AuthoringSink Class

Microsoft.VisualStudio.Package Namespace