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
'宣告
Public Overridable ReadOnly Property DefaultMethod As Integer
Get
'用途
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
- 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.