'Declaration
Public Operator =( _ ByVal cm1 As ContextMenuItem, _ ByVal cm2 As ContextMenuItem _ ) As Boolean
'Usage
public bool operator ==( ContextMenuItem cm1, ContextMenuItem cm2 )
Parameters
- cm1
- The first object to compare.
- cm2
- The second object to compare.
Return Value
true if the specified objects are equal to each other; otherwise, false. If both objA and objB are null, the method returns true.