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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.