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
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
Specifies the model element to be analyzed
Return Value
Type: System.Boolean
Returns True if the model element should be analyzed; otherwise, False.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.