SyntaxFactory.TypeParameterSingleConstraintClause Method

Definition

Overloads

TypeParameterSingleConstraintClause(ConstraintSyntax)

One of the type parameter constraints clauses. This represents a constraint clause in the form of "As Constraint".

TypeParameterSingleConstraintClause(SyntaxToken, ConstraintSyntax)

One of the type parameter constraints clauses. This represents a constraint clause in the form of "As Constraint".

TypeParameterSingleConstraintClause(ConstraintSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

One of the type parameter constraints clauses. This represents a constraint clause in the form of "As Constraint".

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeParameterSingleConstraintClauseSyntax ^ TypeParameterSingleConstraintClause(Microsoft::CodeAnalysis::VisualBasic::Syntax::ConstraintSyntax ^ constraint);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeParameterSingleConstraintClauseSyntax TypeParameterSingleConstraintClause (Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstraintSyntax constraint);
static member TypeParameterSingleConstraintClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstraintSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeParameterSingleConstraintClauseSyntax
Public Shared Function TypeParameterSingleConstraintClause (constraint As ConstraintSyntax) As TypeParameterSingleConstraintClauseSyntax

Parameters

constraint
ConstraintSyntax

A list of the supplied constraints. If no constraints were supplied, Nothing is returned.

Returns

Applies to

TypeParameterSingleConstraintClause(SyntaxToken, ConstraintSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

One of the type parameter constraints clauses. This represents a constraint clause in the form of "As Constraint".

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeParameterSingleConstraintClauseSyntax ^ TypeParameterSingleConstraintClause(Microsoft::CodeAnalysis::SyntaxToken asKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ConstraintSyntax ^ constraint);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeParameterSingleConstraintClauseSyntax TypeParameterSingleConstraintClause (Microsoft.CodeAnalysis.SyntaxToken asKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstraintSyntax constraint);
static member TypeParameterSingleConstraintClause : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ConstraintSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeParameterSingleConstraintClauseSyntax
Public Shared Function TypeParameterSingleConstraintClause (asKeyword As SyntaxToken, constraint As ConstraintSyntax) As TypeParameterSingleConstraintClauseSyntax

Parameters

asKeyword
SyntaxToken

The "As" keyword, if any type constraints were supplied. If no type constraints were supplied, Nothing is returned.

constraint
ConstraintSyntax

A list of the supplied constraints. If no constraints were supplied, Nothing is returned.

Returns

Applies to