TextBounds.Equality(TextBounds, TextBounds) 运算符
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定两个 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
第二个文本边界。
返回
如果文本边界相同,则为 true; 否则为 false。