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
- context1
Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext
A DataCollectionContext.
- context2
Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext
A DataCollectionContext.
Return Value
Type: System.Boolean
true if context1 and context2 do not match; 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.
See Also
Reference
Microsoft.VisualStudio.TestTools.Execution Namespace
Equals()