Partilhar via


UnaryPatternSyntax.WithPattern(PatternSyntax) Method

Definition

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

Parameters

pattern
PatternSyntax

Returns

Applies to