다음을 통해 공유


MethodDeclarationSyntax.WithConstraintClauses 메서드

정의

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::MethodDeclarationSyntax ^ WithConstraintClauses(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintClauseSyntax ^> constraintClauses);
public Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax WithConstraintClauses (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> constraintClauses);
member this.WithConstraintClauses : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
Public Function WithConstraintClauses (constraintClauses As SyntaxList(Of TypeParameterConstraintClauseSyntax)) As MethodDeclarationSyntax

매개 변수

반환

적용 대상