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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.