CspDomain.ContainsValue Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a value that indicates if a given value is a member of a domain.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public MustOverride Function ContainsValue ( _
val As Object _
) As Boolean
public abstract bool ContainsValue(
Object val
)
public:
virtual bool ContainsValue(
Object^ val
) abstract
abstract ContainsValue :
val:Object -> bool
public abstract function ContainsValue(
val : Object
) : boolean
Parameters
- val
Type: System.Object
A value to check for in the domain.
Return Value
Type: System.Boolean
true if the value is a member of a domain; 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.