Condividi tramite


IVsHiddenRegion.GetBanner Method

Returns the banner for the hidden region.

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

Syntax

'Declaration
Function GetBanner ( _
    <OutAttribute> ByRef pbstrBanner As String _
) As Integer
int GetBanner(
    out string pbstrBanner
)
int GetBanner(
    [OutAttribute] String^% pbstrBanner
)
abstract GetBanner : 
        pbstrBanner:string byref -> int
function GetBanner(
    pbstrBanner : String
) : int

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.

Remarks

COM Signature

From textmgr.idl:

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

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

.NET Framework Security

See Also

Reference

IVsHiddenRegion Interface

Microsoft.VisualStudio.TextManager.Interop Namespace