Compartilhar via


TypeParameterConstraintClauseSyntax.WithConstraints Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintClauseSyntax ^ WithConstraints(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintSyntax ^> constraints);
public Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax WithConstraints (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintSyntax> constraints);
member this.WithConstraints : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax
Public Function WithConstraints (constraints As SeparatedSyntaxList(Of TypeParameterConstraintSyntax)) As TypeParameterConstraintClauseSyntax

Parameters

Returns

Applies to