MemberInfo.Equality Operator (MemberInfo, MemberInfo)

.NET Framework (current version)
 
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.

Indicates whether two MemberInfo objects are equal.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public static bool operator ==(
	MemberInfo left,
	MemberInfo right
)

Parameters

left
Type: System.Reflection.MemberInfo

The MemberInfo to compare to right.

right
Type: System.Reflection.MemberInfo

The MemberInfo to compare to left.

Return Value

Type: System.Boolean

true if left is equal to right; otherwise false.

.NET Framework
Available since 4.0
Return to top
Show: