Transaction.Equality Operator (Transaction, Transaction)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

equivalentCodeEntityM:System.Transactions.Transaction.Equals(System.Transactions.Transaction,System.Transactions.Transaction)

Tests whether two specified Transaction instances are equivalent.

Namespace:   System.Transactions
Assembly:  System.Transactions (in System.Transactions.dll)

public static bool operator ==(
	Transaction x,
	Transaction y
)

Parameters

x
Type: System.Transactions.Transaction

The Transaction instance that is to the left of the equality operator.

y
Type: System.Transactions.Transaction

The Transaction instance that is to the right of the equality operator.

Return Value

Type: System.Boolean

true if x and y are equal; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: