Compartilhar via


TextBounds.Equality(TextBounds, TextBounds) Operator

Definition

Determines whether two TextBounds objects are the same.

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

Parameters

bounds1
TextBounds

The first text bounds.

bounds2
TextBounds

The second text bounds.

Returns

true if the text bounds are the same, otherwise false.

Applies to