IVsExpansionFunction::GetListText Method (Int32, String^)
Visual Studio 2015
Returns the specified value from a list of values associated with the expansion function.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Parameters
- iIndex
-
Type:
System::Int32
[in] The index of the value to retrieve.
- pbstrText
-
Type:
System::String^
[out] Returns a string that contains the requested value.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr2.idl:
void IVsExpansionFunction::GetListText( [in]long iIndex, [out]const WCHAR** pbstrText );
The returned string must continue for the life of the expansion function object itself or until the ReleaseFunction method is called.
Show: