Methods Class
Represents a collection of method signatures obtained from a parsing operation in a language service.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Dichiarazione
<CLSCompliantAttribute(False)> _
Public MustInherit Class Methods
'Utilizzo
Dim instance As Methods
[CLSCompliantAttribute(false)]
public abstract class Methods
[CLSCompliantAttribute(false)]
public ref class Methods abstract
[<AbstractClassAttribute>]
[<CLSCompliantAttribute(false)>]
type Methods = class end
public abstract class Methods
Remarks
This abstract class is used primarily to support the IntelliSense method tip operation. The collection typically holds a single method and all of its overloaded signatures, the parameters and return type for each version.
This class also specifies the characters used to format a method signature for display. These include the parameter list's start and end characters, the character that separates parameters, and information about whether the type information precedes or follows each parameter and the method name itself. For example, in Visual C#, the parameter start and end characters are the open and close parentheses, respectively, the parameter separator is a comma, and the types appear before the method names.
Notes to Implementers
If you are going to support the IntelliSense method tip operation, you must provide a class derived from Methods. In order to instantiate this class you must derive a class from the AuthoringScope class and call the constructor of your derived class in your implementation of the GetMethods method.
Notes to Callers
The Methods class is used in the MethodData class to handle the method tip operation.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Package.Methods
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.