Freigeben über


IVsMethodDataEx.GetCopyTipText(Int32, String) Method

Definition

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

public:
 int GetCopyTipText(int iMethod, [Runtime::InteropServices::Out] System::String ^ % pbstrTipText);
int GetCopyTipText(int iMethod, [Runtime::InteropServices::Out] std::wstring const & & pbstrTipText);
public int GetCopyTipText (int iMethod, out string pbstrTipText);
abstract member GetCopyTipText : int * string -> int
Public Function GetCopyTipText (iMethod As Integer, ByRef pbstrTipText As String) As Integer

Parameters

iMethod
Int32

in] The index of the method signature.

pbstrTipText
String

[out] The displayable string.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to