Partager via


IVsEnhancedDataTip.SetExpression Method

Sets the expression displayed in the DataTip.

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

Syntax

'Declaration
Function SetExpression ( _
    bstrExpression As String _
) As Integer
int SetExpression(
    string bstrExpression
)
int SetExpression(
    [InAttribute] String^ bstrExpression
)
abstract SetExpression : 
        bstrExpression:string -> int
function SetExpression(
    bstrExpression : String
) : int

Parameters

  • bstrExpression
    Type: String

    [in] String containing the expression to display in the DataTip.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsEnhancedDataTip::SetExpression(
   [in] BSTR bstrExpression
);

.NET Framework Security

See Also

Reference

IVsEnhancedDataTip Interface

Microsoft.VisualStudio.Shell.Interop Namespace