ParenthesizedPatternSyntax.WithPattern(PatternSyntax) 方法

定义

public Microsoft.CodeAnalysis.CSharp.Syntax.ParenthesizedPatternSyntax WithPattern (Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern);
member this.WithPattern : Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ParenthesizedPatternSyntax
Public Function WithPattern (pattern As PatternSyntax) As ParenthesizedPatternSyntax

参数

pattern
PatternSyntax

返回

适用于