共用方式為


Methods.GetCount Method

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

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 MustOverride Function GetCount As Integer
'用途
Dim instance As Methods
Dim returnValue As Integer

returnValue = instance.GetCount()
public abstract int GetCount()
public:
virtual int GetCount() abstract
abstract GetCount : unit -> int 
public abstract function GetCount() : int

Return Value

Type: System.Int32
The number of signatures in the collection.

Remarks

Return the count of the container that stores the method information.

.NET Framework Security

See Also

Reference

Methods Class

Methods Members

Microsoft.VisualStudio.Package Namespace