ValidationRules.PrimitiveValueValidForType Field

Validates that if a primitive value declares a type, the value is acceptable for the type.

Namespace:  Microsoft.Data.Edm.Validation
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Shared ReadOnly PrimitiveValueValidForType As ValidationRule(Of IEdmPrimitiveValue)
'Usage
Dim value As ValidationRule(Of IEdmPrimitiveValue)

value = ValidationRules.PrimitiveValueValidForType
public static readonly ValidationRule<IEdmPrimitiveValue> PrimitiveValueValidForType
public:
static initonly ValidationRule<IEdmPrimitiveValue^>^ PrimitiveValueValidForType
static val PrimitiveValueValidForType: ValidationRule<IEdmPrimitiveValue>
public static final var PrimitiveValueValidForType : ValidationRule<IEdmPrimitiveValue>

See Also

Reference

ValidationRules Class

Microsoft.Data.Edm.Validation Namespace