ValidationExtensionMethods.TypeErrors Method

Gets the errors, if any, that belong to this type reference or its definition.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function TypeErrors ( _
    type As IEdmTypeReference _
) As IEnumerable(Of EdmError)
'Usage
Dim type As IEdmTypeReference 
Dim returnValue As IEnumerable(Of EdmError)

returnValue = type.TypeErrors()
public static IEnumerable<EdmError> TypeErrors(
    this IEdmTypeReference type
)
[ExtensionAttribute]
public:
static IEnumerable<EdmError^>^ TypeErrors(
    IEdmTypeReference^ type
)
static member TypeErrors : 
        type:IEdmTypeReference -> IEnumerable<EdmError> 
public static function TypeErrors(
    type : IEdmTypeReference
) : IEnumerable<EdmError>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<EdmError>
Any errors that belong to this type reference or its definition.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmTypeReference. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

ValidationExtensionMethods Class

Microsoft.Data.Edm.Validation Namespace