Partilhar via


TypePatternSyntax.WithType(TypeSyntax) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.TypePatternSyntax WithType (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type);
member this.WithType : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.TypePatternSyntax
Public Function WithType (type As TypeSyntax) As TypePatternSyntax

Parameters

type
TypeSyntax

Returns

Applies to