Share via


ValidationRules.ImmediateValueAnnotationElementAnnotationHasNameAndNamespace Field

Validates that an immediate value annotation that is flagged to be serialized as an element can be serialized safely.

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

Syntax

'Declaration
Public Shared ReadOnly ImmediateValueAnnotationElementAnnotationHasNameAndNamespace As ValidationRule(Of IEdmDirectValueAnnotation)
'Usage
Dim value As ValidationRule(Of IEdmDirectValueAnnotation)

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

See Also

Reference

ValidationRules Class

Microsoft.Data.Edm.Validation Namespace