确定此 TextFormattingRunProperties 的前景画笔是否与指定的。
命名空间: Microsoft.VisualStudio.Text.Formatting
程序集: Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
语法
声明
Public Function ForegroundBrushSame ( _
brush As Brush _
) As Boolean
public bool ForegroundBrushSame(
Brush brush
)
public:
bool ForegroundBrushSame(
Brush^ brush
)
member ForegroundBrushSame :
brush:Brush -> bool
public function ForegroundBrushSame(
brush : Brush
) : boolean
参数
brush
类型:Brush另一个 Brush。
返回值
类型:Boolean
如果前景画笔相同,则为 true;如果不同,则为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。