IVsHiddenRegion::SetBanner Method (String^)

 

Sets the banner for the hidden region.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int SetBanner(
	String^ pszBanner
)

Parameters

pszBanner
Type: System::String^

[in] Pointer to the banner for the hidden region.

Return Value

Type: System::Int32

If 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.

Return to top
Show: