Partager via


TypeDeclarationSyntax.WithConstraintClauses Méthode

Définition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::TypeDeclarationSyntax ^ WithConstraintClauses(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintClauseSyntax ^> constraintClauses);
public Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax 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.TypeDeclarationSyntax
Public Function WithConstraintClauses (constraintClauses As SyntaxList(Of TypeParameterConstraintClauseSyntax)) As TypeDeclarationSyntax

Paramètres

Retours

S’applique à