Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns whether the provided value is valid when it is compared to each item in the list of valid values.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function Validate ( _
value As Object _
) As Boolean
public bool Validate(
Object value
)
public:
virtual bool Validate(
Object^ value
) sealed
abstract Validate :
value:Object -> bool
override Validate :
value:Object -> bool
public final function Validate(
value : Object
) : boolean
Parameters
- value
Type: System.Object
An Object that can be converted to a string for comparison.
Return Value
Type: System.Boolean
true if the value is valid for this property; otherwise, false.
Implements
IPropertyValidator.Validate(Object)
.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.