Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / ContextMenuItem Class / Equality Operator
The first object to compare.
The second object to compare.


In This Topic
    Equality Operator (ContextMenuItem)
    In This Topic
    Determines whether the specified object is equal to the current object.
    Syntax
    '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.
    See Also