RuleSet.LoadEffectiveRuleSetFromFile(String) Method

Definition

Load the ruleset from the specified file. This ruleset will contain all the rules resolved from the includes specified in the ruleset file as well. See also: GetEffectiveIncludesFromFile(String).

public:
 static Microsoft::CodeAnalysis::RuleSet ^ LoadEffectiveRuleSetFromFile(System::String ^ filePath);
public static Microsoft.CodeAnalysis.RuleSet LoadEffectiveRuleSetFromFile (string filePath);
static member LoadEffectiveRuleSetFromFile : string -> Microsoft.CodeAnalysis.RuleSet
Public Shared Function LoadEffectiveRuleSetFromFile (filePath As String) As RuleSet

Parameters

filePath
String

Returns

A ruleset that contains resolved rules or null if there were errors.

Applies to