BackgroundBrushChangedEventArgs 建構函式
初始化 BackgroundBrushChangedEventArgs 的新執行個體。
命名空間: Microsoft.VisualStudio.Text.Editor
組件: Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
語法
'宣告
Public Sub New ( _
newBackgroundBrush As Brush _
)
public BackgroundBrushChangedEventArgs(
Brush newBackgroundBrush
)
public:
BackgroundBrushChangedEventArgs(
Brush^ newBackgroundBrush
)
new :
newBackgroundBrush:Brush -> BackgroundBrushChangedEventArgs
public function BackgroundBrushChangedEventArgs(
newBackgroundBrush : Brush
)
參數
newBackgroundBrush
類型:BrushIWpfTextView 的新 Brush。
例外狀況
例外狀況 | 條件 |
---|---|
ArgumentNullException | newBackgroundBrush 為 null。 |
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。