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
- obj1
Type: Microsoft.Windows.Design.Interaction.ViewItem
The first ViewItem to compare.
- obj2
Type: Microsoft.Windows.Design.Interaction.ViewItem
The second ViewItem to compare.
Return Value
Type: System.Boolean
true if obj1 is equal to obj2; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.