Поделиться через


TypeParameterConstraintClauseSyntax.WithConstraints Метод

Определение

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

Параметры

Возвращаемое значение

Применяется к