TextBounds::Equality Operator (TextBounds, TextBounds)

 

Determines whether two TextBounds objects are the same.

Namespace:   Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

public:
static bool operator ==(
	TextBounds bounds1,
	TextBounds bounds2
)

Parameters

bounds1
Type: Microsoft.VisualStudio.Text.Formatting::TextBounds

The first text bounds.

bounds2
Type: Microsoft.VisualStudio.Text.Formatting::TextBounds

The second text bounds.

Return Value

Type: System::Boolean

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

Return to top
Show: