Rule.Analyze メソッド
モデル要素を分析し、要素で検出された問題の一覧を返します。
名前空間 : Microsoft.Data.Schema.StaticCodeAnalysis
アセンブリ : Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)
構文
'宣言
Public MustOverride Function Analyze ( _
modelElement As IModelElement, _
ruleSetting As RuleSetting _
) As IList(Of Problem)
'使用
Dim instance As Rule
Dim modelElement As IModelElement
Dim ruleSetting As RuleSetting
Dim returnValue As IList(Of Problem)
returnValue = instance.Analyze(modelElement, _
ruleSetting)
public abstract IList<Problem> Analyze(
IModelElement modelElement,
RuleSetting ruleSetting
)
public:
virtual IList<Problem^>^ Analyze(
IModelElement^ modelElement,
RuleSetting^ ruleSetting
) abstract
public abstract function Analyze(
modelElement : IModelElement,
ruleSetting : RuleSetting
) : IList<Problem>
パラメータ
- modelElement
型 : Microsoft.Data.Schema.SchemaModel.IModelElement
分析するモデル要素を指定します。
- ruleSetting
型 : Microsoft.Data.Schema.StaticCodeAnalysis.RuleSetting
現在の規則の規則設定を指定します。
戻り値
型 : System.Collections.Generic.IList<Problem>