SyntaxFactory.ClassOrStructConstraint 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
ClassOrStructConstraint(SyntaxKind) |
Creates a new ClassOrStructConstraintSyntax instance. |
ClassOrStructConstraint(SyntaxKind, SyntaxToken) |
Creates a new ClassOrStructConstraintSyntax instance. |
ClassOrStructConstraint(SyntaxKind, SyntaxToken, SyntaxToken) |
Creates a new ClassOrStructConstraintSyntax instance. |
ClassOrStructConstraint(SyntaxKind)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new ClassOrStructConstraintSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::ClassOrStructConstraintSyntax ^ ClassOrStructConstraint(Microsoft::CodeAnalysis::CSharp::SyntaxKind kind);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax ClassOrStructConstraint (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind);
static member ClassOrStructConstraint : Microsoft.CodeAnalysis.CSharp.SyntaxKind -> Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax
Public Shared Function ClassOrStructConstraint (kind As SyntaxKind) As ClassOrStructConstraintSyntax
Parameters
- kind
- SyntaxKind
Returns
Applies to
ClassOrStructConstraint(SyntaxKind, SyntaxToken)
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
Creates a new ClassOrStructConstraintSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::ClassOrStructConstraintSyntax ^ ClassOrStructConstraint(Microsoft::CodeAnalysis::CSharp::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken classOrStructKeyword);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax ClassOrStructConstraint (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken classOrStructKeyword);
static member ClassOrStructConstraint : Microsoft.CodeAnalysis.CSharp.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax
Public Shared Function ClassOrStructConstraint (kind As SyntaxKind, classOrStructKeyword As SyntaxToken) As ClassOrStructConstraintSyntax
Parameters
- kind
- SyntaxKind
- classOrStructKeyword
- SyntaxToken
Returns
Applies to
ClassOrStructConstraint(SyntaxKind, SyntaxToken, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new ClassOrStructConstraintSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax ClassOrStructConstraint (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken classOrStructKeyword, Microsoft.CodeAnalysis.SyntaxToken questionToken);
static member ClassOrStructConstraint : Microsoft.CodeAnalysis.CSharp.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax
Public Shared Function ClassOrStructConstraint (kind As SyntaxKind, classOrStructKeyword As SyntaxToken, questionToken As SyntaxToken) As ClassOrStructConstraintSyntax
Parameters
- kind
- SyntaxKind
- classOrStructKeyword
- SyntaxToken
- questionToken
- SyntaxToken
Returns
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.