IVsDropdownBarClient::GetEntryText Method (Int32, Int32, String^)
Visual Studio 2015
Returns the text for a combo entry.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iCombo
-
Type:
System::Int32
[in] The drop-down bar/Window combo.
- iIndex
-
Type:
System::Int32
[in] Index of item of interest.
- ppszText
-
Type:
System::String^
[out] String containing the text.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsDropdownBarClient::GetEntryText( [in] long iCombo, [in] long iIndex, [out] WCHAR **ppszText );
Note |
|---|
The text buffer returned in ppszText is typically created by the IVsDropdownBarClient object and the buffer must persist for the life of the IVsDropdownBarClient object. If you are implementing this interface in managed code and you need to have the string disposed of by the caller, implement the IVsCoTaskMemFreeMyStrings interface on the IVsDropdownBarClient interface. |
Show:
