PropertyValidatorList Class
This class and its members are reserved for internal use and are not intended to be used in your code. Validates whether a value is equal to a value in a provided list.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.Build.PropertyValidatorList
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Class PropertyValidatorList _
Implements IPropertyValidator
public class PropertyValidatorList : IPropertyValidator
public ref class PropertyValidatorList : IPropertyValidator
type PropertyValidatorList =
class
interface IPropertyValidator
end
public class PropertyValidatorList implements IPropertyValidator
The PropertyValidatorList type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PropertyValidatorList(array<String[]) | Initializes a new instance of the PropertyValidatorList class by using the provided list of valid values. | |
PropertyValidatorList(Boolean, array<String[]) | Initializes a new instance of the PropertyValidatorList class by using the provided values. |
Top
Properties
Name | Description | |
---|---|---|
AllowNullOrEmpty | Gets a value that indicates whether the property value can be nulla null reference (Nothing in Visual Basic) or empty. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Validate | Returns whether the provided value is valid when it is compared to each item in the list of valid values. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.