Partager via


DataCollectionContext.Inequality Operator

Returns a value that indicates whether two instances of DataCollectionContext do not match.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

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

Parameters

Return Value

Type: Boolean
true if context1 and context2 do not match; otherwise, false.

.NET Framework Security

See Also

Reference

DataCollectionContext Class

Microsoft.VisualStudio.TestTools.Execution Namespace

Equals