Condividi tramite


Methods.DefaultMethod Property

Gets the index of the initial method signature to show.

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
Public Overridable ReadOnly Property DefaultMethod As Integer
    Get
'Utilizzo
Dim instance As Methods
Dim value As Integer

value = instance.DefaultMethod
public virtual int DefaultMethod { get; }
public:
virtual property int DefaultMethod {
    int get ();
}
abstract DefaultMethod : int
override DefaultMethod : int
function get DefaultMethod () : int

Property Value

Type: System.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

Methods Members

Microsoft.VisualStudio.Package Namespace