AuthoringSink.StartParameters Method
Called at the start of a method's parameter list.
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
'Declaração
Public Overridable Sub StartParameters ( _
context As TextSpan _
)
public virtual void StartParameters(
TextSpan context
)
Parameters
- context
Type: Microsoft.VisualStudio.TextManager.Interop.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.
.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.