共用方式為


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
)

參數

例外狀況

例外狀況 條件
ArgumentNullException

newBackgroundBrush 為 null。

.NET Framework 安全性

請參閱

參考

BackgroundBrushChangedEventArgs 類別

Microsoft.VisualStudio.Text.Editor 命名空間