SyntaxFactory.AllowsConstraintClause Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AllowsConstraintClause(SyntaxToken, SeparatedSyntaxList<AllowsConstraintSyntax>) |
Creates a new AllowsConstraintClauseSyntax instance. |
AllowsConstraintClause(SeparatedSyntaxList<AllowsConstraintSyntax>) |
Creates a new AllowsConstraintClauseSyntax instance. |
AllowsConstraintClause(SyntaxToken, SeparatedSyntaxList<AllowsConstraintSyntax>)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new AllowsConstraintClauseSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintClauseSyntax AllowsConstraintClause(Microsoft.CodeAnalysis.SyntaxToken allowsKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintSyntax> constraints);
static member AllowsConstraintClause : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintClauseSyntax
Public Shared Function AllowsConstraintClause (allowsKeyword As SyntaxToken, constraints As SeparatedSyntaxList(Of AllowsConstraintSyntax)) As AllowsConstraintClauseSyntax
Parameters
- allowsKeyword
- SyntaxToken
- constraints
- SeparatedSyntaxList<AllowsConstraintSyntax>
Returns
Applies to
AllowsConstraintClause(SeparatedSyntaxList<AllowsConstraintSyntax>)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new AllowsConstraintClauseSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintClauseSyntax AllowsConstraintClause(Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintSyntax> constraints = default);
static member AllowsConstraintClause : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintClauseSyntax
Public Shared Function AllowsConstraintClause (Optional constraints As SeparatedSyntaxList(Of AllowsConstraintSyntax) = Nothing) As AllowsConstraintClauseSyntax
Parameters
- constraints
- SeparatedSyntaxList<AllowsConstraintSyntax>
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.