Share via


IVsEnhancedDataTip.SetExpression(String) Method

Definition

Sets the expression displayed in the DataTip.

public:
 int SetExpression(System::String ^ bstrExpression);
public:
 int SetExpression(Platform::String ^ bstrExpression);
int SetExpression(std::wstring const & bstrExpression);
public int SetExpression (string bstrExpression);
abstract member SetExpression : string -> int
Public Function SetExpression (bstrExpression As String) As Integer

Parameters

bstrExpression
String

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

Returns

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  
);  

Applies to