IASTabber::put_String

This method sets the string associated with a specified tab.

Syntax

HRESULT put_String( long lIndex, BSTR bstr );

Parameters

lIndex
Long integer that contains the index of the tab.
bstr
Unicode string associated with the tab.

Return Values

NOERROR indicates success. E_OUTOFMEMORY indicates that the system is out of memory.

Remarks

A copy of the string is returned. The caller is responsible for freeing the memory associated with the allocated string.