共用方式為


InterfaceDeclarationSyntax.WithConstraintClauses Method

Definition

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

Parameters

Returns

Applies to