DeclarationPatternSyntax.WithType(TypeSyntax) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
public:
Microsoft::CodeAnalysis::CSharp::Syntax::DeclarationPatternSyntax ^ WithType(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type);
public Microsoft.CodeAnalysis.CSharp.Syntax.DeclarationPatternSyntax WithType(Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type);
member this.WithType : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.DeclarationPatternSyntax
Public Function WithType (type As TypeSyntax) As DeclarationPatternSyntax
Parameter
- type
- TypeSyntax