LineTransform.Equality, opérateur
Détermine si deux objets LineTransform 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 = ( _
transform1 As LineTransform, _
transform2 As LineTransform _
) As Boolean
public static bool operator ==(
LineTransform transform1,
LineTransform transform2
)
public:
static bool operator ==(
LineTransform transform1,
LineTransform transform2
)
static let inline(=)
transform1:LineTransform *
transform2:LineTransform : bool
JScript ne prend pas en charge les opérateurs surchargés.
Paramètres
transform1
Type : Microsoft.VisualStudio.Text.Formatting.LineTransformPremière transformation de ligne.
transform2
Type : Microsoft.VisualStudio.Text.Formatting.LineTransformDeuxième transformation de ligne.
Valeur de retour
Type : Boolean
true si les deux des transformations de ligne 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.