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
'宣告
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.