TextBounds.Inequality 运算符

确定两个 TextBounds 对象是否不同。

命名空间:  Microsoft.VisualStudio.Text.Formatting
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
Public Shared Operator <> ( _
    bounds1 As TextBounds, _
    bounds2 As TextBounds _
) As Boolean
public static bool operator !=(
    TextBounds bounds1,
    TextBounds bounds2
)
public:
static bool operator !=(
    TextBounds bounds1, 
    TextBounds bounds2
)
static let inline(<>)
        bounds1:TextBounds * 
        bounds2:TextBounds  : bool
JScript 不支持重载运算符。

参数

返回值

类型:Boolean
则为 true; 如果文本边界不同,否则 false。

.NET Framework 安全性

请参阅

参考

TextBounds 结构

Microsoft.VisualStudio.Text.Formatting 命名空间