KeyAttributePair<T>.Inequality 运算符

确定是否将指定的 KeyAttributePair<T> 实例视为不相等。

命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public Shared Operator <> ( _
    pair1 As KeyAttributePair(Of T), _
    pair2 As KeyAttributePair(Of T) _
) As Boolean
public static bool operator !=(
    KeyAttributePair<T> pair1,
    KeyAttributePair<T> pair2
)
public:
static bool operator !=(
    KeyAttributePair<T> pair1, 
    KeyAttributePair<T> pair2
)
static let inline (<>)
        pair1:KeyAttributePair<'T> * 
        pair2:KeyAttributePair<'T>  : bool
JScript 不支持重载运算符。

参数

返回值

类型:System.Boolean
如果 first 不等于 second,则为 true;否则为 false。

.NET Framework 安全性

请参见

参考

KeyAttributePair<T> 结构

Microsoft.Windows.Design.PropertyEditing 命名空间

其他资源

属性编辑体系结构

WPF 设计器扩展性