Jaa


ValidationExtensionMethods.Errors(IEdmElement) Method

Definition

Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type.

public static System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.Validation.EdmError> Errors (this Microsoft.OData.Edm.IEdmElement element);
static member Errors : Microsoft.OData.Edm.IEdmElement -> seq<Microsoft.OData.Edm.Validation.EdmError>
<Extension()>
Public Function Errors (element As IEdmElement) As IEnumerable(Of EdmError)

Parameters

element
IEdmElement

Reference to the calling object.

Returns

Any errors that belong to this element or elements that element contains.

Applies to