Methods.GetType Method (Int32)
When implemented in a derived class, gets the return type of the specified method signature.
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 MustOverride Function GetType ( _
index As Integer _
) As String
'Utilizzo
Dim instance As Methods
Dim index As Integer
Dim returnValue As String
returnValue = instance.GetType(index)
public abstract string GetType(
int index
)
public:
virtual String^ GetType(
int index
) abstract
abstract GetType :
index:int -> string
public abstract function GetType(
index : int
) : String
Parameters
- index
Type: System.Int32
[in] An index into the list of method signatures.
Return Value
Type: System.String
The return type of the specified method signature, or nulla null reference (Nothing in Visual Basic).
Remarks
In Visual C#/Visual C++, the return type is always the same. However, other languages may allow for different return types.
.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.