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
bounds1
Type : Microsoft.VisualStudio.Text.Formatting.TextBoundsPremières limites de texte.
bounds2
Type : Microsoft.VisualStudio.Text.Formatting.TextBoundsDeuxièmes limites du texte.
Valeur de retour
Type : Boolean
true si les limites du texte sont identiques, sinon false.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.