Partager via


TextBounds.Equality, opérateur

Détermine si deux objets TextBounds sont identiques.

Espace de noms :  Microsoft.VisualStudio.Text.Formatting
Assembly :  Microsoft.VisualStudio.Text.UI (dans Microsoft.VisualStudio.Text.UI.dll)

Syntaxe

'Déclaration
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 ne prend pas en charge les opérateurs surchargés.

Paramètres

Valeur de retour

Type : Boolean
true si les limites du texte sont identiques, sinon false.

Sécurité .NET Framework

Voir aussi

Référence

TextBounds Structure

Microsoft.VisualStudio.Text.Formatting, espace de noms