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

Return Value

Type: System.Boolean
true if the text bounds are the same, otherwise false.

.NET Framework Security

See Also

Reference

TextBounds Structure

Microsoft.VisualStudio.Text.Formatting Namespace