IVsHiddenRegion.GetBanner(String) Method

Definition

Returns the banner for the hidden region.

public:
 int GetBanner([Runtime::InteropServices::Out] System::String ^ % pbstrBanner);
int GetBanner([Runtime::InteropServices::Out] std::wstring const & & pbstrBanner);
public int GetBanner (out string pbstrBanner);
abstract member GetBanner : string -> int
Public Function GetBanner (ByRef pbstrBanner As String) As Integer

Parameters

pbstrBanner
String

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsHiddenRegion::GetBanner(  
   [out] BSTR *pbstrBanner  
);  

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

Applies to