Compartilhar via


TextExtent.Equality Operator

Determines whether two TextExtent objects are the same.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    extent1 As TextExtent, _
    extent2 As TextExtent _
) As Boolean
public static bool operator ==(
    TextExtent extent1,
    TextExtent extent2
)
public:
static bool operator ==(
    TextExtent extent1, 
    TextExtent extent2
)
static let inline(=)
        extent1:TextExtent * 
        extent2:TextExtent  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: Boolean
true if the objects are the same, otherwise false.

.NET Framework Security

See Also

Reference

TextExtent Structure

Microsoft.VisualStudio.Text.Operations Namespace