Partager via


IAnalyzerHostObject.SetRuleSet Method

Sets the rule set.

Namespace:  Microsoft.Build.Tasks.Hosting
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Function SetRuleSet ( _
    ruleSetFile As String _
) As Boolean
bool SetRuleSet(
    string ruleSetFile
)
bool SetRuleSet(
    String^ ruleSetFile
)
abstract SetRuleSet : 
        ruleSetFile:string -> bool
function SetRuleSet(
    ruleSetFile : String
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

IAnalyzerHostObject Interface

Microsoft.Build.Tasks.Hosting Namespace