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
ruleSetFile
Type: System.StringThe rule set file.
Return Value
Type: System.Boolean
Returns Boolean.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.