共用方式為


IsPatternExpressionSyntax.WithPattern(PatternSyntax) Method

Definition

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

Parameters

pattern
PatternSyntax

Returns

Applies to