Methods.DefaultMethod Property

Gets the index of the initial method signature to show.

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

Syntax

'Declaration
Public Overridable ReadOnly Property DefaultMethod As Integer
public virtual int DefaultMethod { get; }
public:
virtual property int DefaultMethod {
    int get ();
}
abstract DefaultMethod : int with get 
override DefaultMethod : int with get
function get DefaultMethod () : int

Property Value

Type: Int32
The index of the first method signature to show the user when the IntelliSense method tip is displayed.

Remarks

The base property always returns 0.

.NET Framework Security

See Also

Reference

Methods Class

Microsoft.VisualStudio.Package Namespace