IVsHiddenRegion::GetBanner Method (String^)

 

Returns the banner for the hidden region.

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

int GetBanner(
	[OutAttribute] String^% pbstrBanner
)

Parameters

pbstrBanner
Type: System::String^

[out] 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::GetBanner(
   [out] BSTR *pbstrBanner
);

This method allocates a BSTR, which must be freed by the caller.

Return to top
Show: