共用方式為


RecordDeclarationSyntax.WithConstraintClauses Method

Definition

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

Parameters

Returns

Applies to