Methods Class

 

Represents a collection of method signatures obtained from a parsing operation in a language service.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

System.Object
  Microsoft.VisualStudio.Package.Methods

[CLSCompliantAttribute(false)]
public abstract class Methods

NameDescription
System_CAPS_protmethodMethods()

When implemented in a derived class, initializes a new instance of the Methods class.

NameDescription
System_CAPS_pubpropertyCloseBracket

Gets the character to use at the end of a method parameter list.

System_CAPS_pubpropertyDefaultMethod

Gets the index of the initial method signature to show.

System_CAPS_pubpropertyDelimiter

Gets the character that separates parameters in a method's parameter list.

System_CAPS_pubpropertyOpenBracket

Gets the character to use at the start of a method's parameter list.

System_CAPS_pubpropertyTypePostfix

Gets the string to place after the return type of a method.

System_CAPS_pubpropertyTypePrefix

Gets the string to place before the return type of a method.

System_CAPS_pubpropertyTypePrefixed

Gets whether a method's return type comes before or after the method signature.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetCount()

When implemented in a derived class, gets the number of overloaded method signatures represented in this collection.

System_CAPS_pubmethodGetDescription(Int32)

When implemented in a derived class, gets the description of the specified method signature.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetName(Int32)

When implemented in a derived class, gets the name of the specified method signature.

System_CAPS_pubmethodGetParameterCount(Int32)

When implemented in a derived class, gets the number of parameters on the specified method signature.

System_CAPS_pubmethodGetParameterInfo(Int32, Int32, String, String, String)

When implemented in a derived class, gets information about the specified parameter on the specified method signature.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetType(Int32)

When implemented in a derived class, gets the return type of the specified method signature.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: