Rule.IsSupported Method

Returns whether a model element should be analyzed by the current rule.

Namespace:  Microsoft.Data.Schema.StaticCodeAnalysis
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public MustOverride Function IsSupported ( _
    element As IModelElement _
) As Boolean
'Usage
Dim instance As Rule
Dim element As IModelElement
Dim returnValue As Boolean

returnValue = instance.IsSupported(element)
public abstract bool IsSupported(
    IModelElement element
)
public:
virtual bool IsSupported(
    IModelElement^ element
) abstract
public abstract function IsSupported(
    element : IModelElement
) : boolean
abstract IsSupported : 
        element:IModelElement -> bool 

Parameters

Return Value

Type: System.Boolean
Returns True if the model element should be analyzed; otherwise, False.

.NET Framework Security

See Also

Reference

Rule Class

Rule Members

Microsoft.Data.Schema.StaticCodeAnalysis Namespace