共用方式為


LocalFunctionStatementSyntax.AddConstraintClauses 方法

定義

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

參數

傳回

適用於