ValidationRule<TItem> Class
Represents a validation rule that is valid for a specific type.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Validation.ValidationRule
Microsoft.Data.Edm.Validation.ValidationRule<TItem>
Namespace: Microsoft.Data.Edm.Validation
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public NotInheritable Class ValidationRule(Of TItem As IEdmElement) _
Inherits ValidationRule
'Usage
Dim instance As ValidationRule(Of TItem)
public sealed class ValidationRule<TItem> : ValidationRule
where TItem : IEdmElement
generic<typename TItem>
where TItem : IEdmElement
public ref class ValidationRule sealed : public ValidationRule
[<SealedAttribute>]
type ValidationRule<'TItem when 'TItem : IEdmElement> =
class
inherit ValidationRule
end
JScript does not support generic types and methods.
Type Parameters
- TItem
The type that the rule is valid for.
The ValidationRule<TItem> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ValidationRule<TItem> |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
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.