PropertyValidatorBool.Validate Method
Returns a value that indicates whether the provided value is valid.
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 contains a bool value or a string that can be parsed into a bool value.
Return Value
Type: System.Boolean
true if the value is valid; 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.