IVsHiddenRegionEx.SetBannerAttr 方法
設定橫幅屬性。
命名空間: Microsoft.VisualStudio.TextManager.Interop
組件: Microsoft.VisualStudio.TextManager.Interop.8.0 (在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)
語法
'宣告
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
參數
dwLength
類型:UInt32橫幅的長度。
pColorAttr
類型:array<UInt32[]ULONG 的色彩屬性陣列。
傳回值
類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。