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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET