共用方式為


IVsDebugger2.CreateDataTip(String, UInt32, IVsEnhancedDataTip) Method

Definition

Creates an enhanced data tip object.

public:
 int CreateDataTip(System::String ^ bstrExpression, System::UInt32 dwStyle, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnhancedDataTip ^ % ppDataTip);
public:
 int CreateDataTip(Platform::String ^ bstrExpression, unsigned int dwStyle, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnhancedDataTip ^ &  ppDataTip);
int CreateDataTip(std::wstring const & bstrExpression, unsigned int dwStyle, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnhancedDataTip const & & ppDataTip);
public int CreateDataTip (string bstrExpression, uint dwStyle, out Microsoft.VisualStudio.Shell.Interop.IVsEnhancedDataTip ppDataTip);
abstract member CreateDataTip : string * uint32 * IVsEnhancedDataTip -> int
Public Function CreateDataTip (bstrExpression As String, dwStyle As UInteger, ByRef ppDataTip As IVsEnhancedDataTip) As Integer

Parameters

bstrExpression
String

[in] String containing the data tip.

dwStyle
UInt32

[in] Reserved.

ppDataTip
IVsEnhancedDataTip

[out] Pointer to the new IVsEnhancedDataTip interface.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsDebugger2::CreateDataTip(  
   [in] BSTR bstrExpression,  
   [in] VSEDT_STYLE dwStyle,  
   [out]IVsEnhancedDataTip** ppDataTip  
);  

Applies to