IVsHiddenRegion::SetBanner Method (String^)
Visual Studio 2015
Sets the banner for the hidden region.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- pszBanner
-
Type:
System::String^
[in] Pointer to the banner for the hidden region.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsHiddenRegion::SetBanner(
[in] LPCWSTR pszBanner
);
The banner is the text displayed when the hidden region is collapsed. The hidden text manager allocates a new string for this method.
Show: