共用方式為


TypeParameterConstraintClauseSyntax.AddConstraints Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintClauseSyntax ^ AddConstraints(... cli::array <Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintSyntax ^> ^ items);
public Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax AddConstraints (params Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintSyntax[] items);
member this.AddConstraints : Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax
Public Function AddConstraints (ParamArray items As TypeParameterConstraintSyntax()) As TypeParameterConstraintClauseSyntax

Parameters

Returns

Applies to