Compartilhar via


IVsMethodDataEx.GetCopyTipText Method

Returns the text for the specified method that would appear in the ParameterInfo tooltip.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
Function GetCopyTipText ( _
    iMethod As Integer, _
    <OutAttribute> ByRef pbstrTipText As String _
) As Integer
int GetCopyTipText(
    int iMethod,
    out string pbstrTipText
)
int GetCopyTipText(
    [InAttribute] int iMethod, 
    [OutAttribute] String^% pbstrTipText
)
abstract GetCopyTipText : 
        iMethod:int * 
        pbstrTipText:string byref -> int
function GetCopyTipText(
    iMethod : int, 
    pbstrTipText : String
) : int

Parameters

  • iMethod
    Type: System.Int32

    in] The index of the method signature.

  • pbstrTipText
    Type: System.String%

    [out] The displayable string.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsMethodDataEx Interface

Microsoft.VisualStudio.TextManager.Interop Namespace