共用方式為


IVsTextMarker.GetTipText(String[]) Method

Definition

Returns the text to display in a tip for the marker type.

int GetTipText(std::Array <std::wstring const &> const & pbstrText);
public int GetTipText (string[] pbstrText);
abstract member GetTipText : string[] -> int
Public Function GetTipText (Optional pbstrText As String()) As Integer

Parameters

pbstrText
String[]

[out] Pointer to the string containing the tip text for the marker type.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarker::GetTipText(  
   [out, optional] BSTR *pbstrText  
);  

Applies to