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
- extent1
Type: Microsoft.VisualStudio.Text.Operations.TextExtent
The first object.
- extent2
Type: Microsoft.VisualStudio.Text.Operations.TextExtent
The second object.
Return Value
Type: System.Boolean
true if the objects 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.