Share via


ViewItem.Equality Operator

Determines whether the specified ViewItem instances are considered equal.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    obj1 As ViewItem, _
    obj2 As ViewItem _
) As Boolean
public static bool operator ==(
    ViewItem obj1,
    ViewItem obj2
)
public:
static bool operator ==(
    ViewItem^ obj1, 
    ViewItem^ obj2
)
static let inline (=)
        obj1:ViewItem * 
        obj2:ViewItem  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if obj1 is equal to obj2; otherwise, false.

.NET Framework Security

See Also

Reference

ViewItem Class

Microsoft.Windows.Design.Interaction Namespace