Partilhar via


Operador TextBounds.Equality

Determina se dois TextBounds objetos forem iguais.

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

Sintaxe

'Declaração
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 não oferece suporte a operadores sobrecarregados.

Parâmetros

Valor de retorno

Tipo: Boolean
true Se os limites de texto forem iguais, caso contrário, false.

Segurança do .NET Framework

Consulte também

Referência

TextBounds Estrutura

Namespace Microsoft.VisualStudio.Text.Formatting