Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
When implemented in a derived class, gets the number of parameters on the specified method signature.
Namespace: Microsoft.VisualStudio.Package
Assemblies: 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)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public MustOverride Function GetParameterCount ( _
index As Integer _
) As Integer
public abstract int GetParameterCount(
int index
)
public:
virtual int GetParameterCount(
int index
) abstract
abstract GetParameterCount :
index:int -> int
public abstract function GetParameterCount(
index : int
) : int
Parameters
index
Type: System.Int32[in] An index into the list of method signatures.
Return Value
Type: System.Int32
The number of parameters on the specified method signature, or -1.
Remarks
This method is used to track where the user is in the parameter list when entering a method's parameters.
.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.