共用方式為


AnalyzerConfig.TryCreateSectionNameMatcher(String) Method

Definition

Takes a Name and creates a matcher that matches the the given language. Returns null if the section name is invalid.

public static Microsoft.CodeAnalysis.AnalyzerConfig.SectionNameMatcher? TryCreateSectionNameMatcher (string sectionName);
static member TryCreateSectionNameMatcher : string -> Nullable<Microsoft.CodeAnalysis.AnalyzerConfig.SectionNameMatcher>
Public Shared Function TryCreateSectionNameMatcher (sectionName As String) As Nullable(Of AnalyzerConfig.SectionNameMatcher)

Parameters

sectionName
String

Returns

Applies to