ValidationExtensionMethods.IsBad Method

Indicates whether this element contains errors returned by the Errors(IEdmElement) method.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsBad ( _
    element As IEdmElement _
) As Boolean
'Usage
Dim element As IEdmElement 
Dim returnValue As Boolean 

returnValue = element.IsBad()
public static bool IsBad(
    this IEdmElement element
)
[ExtensionAttribute]
public:
static bool IsBad(
    IEdmElement^ element
)
static member IsBad : 
        element:IEdmElement -> bool
public static function IsBad(
    element : IEdmElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the element contains errors; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmElement. 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