RuleSet.LoadEffectiveRuleSetFromFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.