IVsHiddenRegionEx.SetBannerAttr Method
Sets the banner attributes.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function SetBannerAttr ( _
dwLength As UInteger, _
pColorAttr As UInteger() _
) As Integer
int SetBannerAttr(
uint dwLength,
uint[] pColorAttr
)
int SetBannerAttr(
[InAttribute] unsigned int dwLength,
[InAttribute] array<unsigned int>^ pColorAttr
)
abstract SetBannerAttr :
dwLength:uint32 *
pColorAttr:uint32[] -> int
function SetBannerAttr(
dwLength : uint,
pColorAttr : uint[]
) : int
Parameters
- dwLength
Type: System.UInt32
The length of the banner.
- pColorAttr
Type: array<System.UInt32[]
A ULONG array of color attributes.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.