共用方式為


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 命名空間