Udostępnij za pośrednictwem


DropDownMember.Inequality Operator

Determines if two DropDownMember objects are not equal.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    m1 As DropDownMember, _
    m2 As DropDownMember _
) As Boolean
public static bool operator !=(
    DropDownMember m1,
    DropDownMember m2
)
public:
static bool operator !=(
    DropDownMember^ m1, 
    DropDownMember^ m2
)
static let inline (<>)
        m1:DropDownMember * 
        m2:DropDownMember  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if the two DropDownMember objects are not equal, otherwise false.

Remarks

This operator method returns the results of !(m1 == m2) (that is, it calls the Equality method and reverses the result).

.NET Framework Security

See Also

Reference

DropDownMember Class

Microsoft.VisualStudio.Package Namespace