TextBounds.Equality Operator
Determines whether two TextBounds objects are the same.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Декларация
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 does not support overloaded operators.
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.