共用方式為


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

Syntax

'宣告
Public Overridable Sub StartParameters ( _
    context As TextSpan _
)
'用途
Dim instance As AuthoringSink
Dim context As TextSpan

instance.StartParameters(context)
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

AuthoringSink Members

Microsoft.VisualStudio.Package Namespace