IVsHiddenRegionEx.SetBannerAttr(UInt32, UInt32[]) 方法

定义

设置横幅特性。

public:
 int SetBannerAttr(System::UInt32 dwLength, cli::array <System::UInt32> ^ pColorAttr);
public:
 int SetBannerAttr(unsigned int dwLength, Platform::Array <unsigned int> ^ pColorAttr);
int SetBannerAttr(unsigned int dwLength, std::Array <unsigned int> const & pColorAttr);
public int SetBannerAttr (uint dwLength, uint[] pColorAttr);
abstract member SetBannerAttr : uint32 * uint32[] -> int
Public Function SetBannerAttr (dwLength As UInteger, pColorAttr As UInteger()) As Integer

参数

dwLength
UInt32

横幅的长度。

pColorAttr
UInt32[]

颜色特性的 ULONG 数组。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

适用于