次の方法で共有


RuleSetting コンストラクタ (Rule, Boolean, ProblemSeverity)

RuleSetting クラスのインスタンスを初期化します。

名前空間 :  Microsoft.Data.Schema.StaticCodeAnalysis
アセンブリ :  Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)

構文

'宣言
Public Sub New ( _
    rule As Rule, _
    enabled As Boolean, _
    severity As ProblemSeverity _
)
'使用
Dim rule As Rule
Dim enabled As Boolean
Dim severity As ProblemSeverity

Dim instance As New RuleSetting(rule, enabled, _
    severity)
public RuleSetting(
    Rule rule,
    bool enabled,
    ProblemSeverity severity
)
public:
RuleSetting(
    Rule^ rule, 
    bool enabled, 
    ProblemSeverity severity
)
public function RuleSetting(
    rule : Rule, 
    enabled : boolean, 
    severity : ProblemSeverity
)

パラメータ

  • enabled
    型 : System.Boolean
    規則を有効にするか無効にするかを指定します。

参照

参照

RuleSetting クラス

RuleSetting メンバ

RuleSetting オーバーロード

Microsoft.Data.Schema.StaticCodeAnalysis 名前空間