TextBounds.Equality(TextBounds, TextBounds) 运算符

定义

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

public:
 static bool operator ==(Microsoft::VisualStudio::Text::Formatting::TextBounds bounds1, Microsoft::VisualStudio::Text::Formatting::TextBounds bounds2);
public:
 static bool operator ==(Microsoft::VisualStudio::Text::Formatting::TextBounds bounds1, Microsoft::VisualStudio::Text::Formatting::TextBounds bounds2);
 static bool operator ==(Microsoft::VisualStudio::Text::Formatting::TextBounds bounds1, Microsoft::VisualStudio::Text::Formatting::TextBounds bounds2);
public static bool operator == (Microsoft.VisualStudio.Text.Formatting.TextBounds bounds1, Microsoft.VisualStudio.Text.Formatting.TextBounds bounds2);
static member ( = ) : Microsoft.VisualStudio.Text.Formatting.TextBounds * Microsoft.VisualStudio.Text.Formatting.TextBounds -> bool
Public Shared Operator == (bounds1 As TextBounds, bounds2 As TextBounds) As Boolean

参数

bounds1
TextBounds

第一个文本边界。

bounds2
TextBounds

第二个文本边界。

返回

Boolean

如果文本边界相同,则为 true; 否则为 false。

适用于