IVsDebugger2.CreateDataTip Method
Creates an enhanced data tip object.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function CreateDataTip ( _
bstrExpression As String, _
dwStyle As UInteger, _
<OutAttribute> ByRef ppDataTip As IVsEnhancedDataTip _
) As Integer
'Usage
Dim instance As IVsDebugger2
Dim bstrExpression As String
Dim dwStyle As UInteger
Dim ppDataTip As IVsEnhancedDataTip
Dim returnValue As Integer
returnValue = instance.CreateDataTip(bstrExpression, _
dwStyle, ppDataTip)
int CreateDataTip(
string bstrExpression,
uint dwStyle,
out IVsEnhancedDataTip ppDataTip
)
int CreateDataTip(
[InAttribute] String^ bstrExpression,
[InAttribute] unsigned int dwStyle,
[OutAttribute] IVsEnhancedDataTip^% ppDataTip
)
function CreateDataTip(
bstrExpression : String,
dwStyle : uint,
ppDataTip : IVsEnhancedDataTip
) : int
Parameters
bstrExpression
Type: System.String[in] String containing the data tip.
dwStyle
Type: System.UInt32[in] Reserved.
ppDataTip
Type: Microsoft.VisualStudio.Shell.Interop.IVsEnhancedDataTip%[out] Pointer to the new IVsEnhancedDataTip interface.
Return Value
Type: System.Int32
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
);
.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.