ClassOrStructConstraintSyntax.WithClassOrStructKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ClassOrStructConstraintSyntax ^ WithClassOrStructKeyword(Microsoft::CodeAnalysis::SyntaxToken classOrStructKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax WithClassOrStructKeyword (Microsoft.CodeAnalysis.SyntaxToken classOrStructKeyword);
member this.WithClassOrStructKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ClassOrStructConstraintSyntax
Public Function WithClassOrStructKeyword (classOrStructKeyword As SyntaxToken) As ClassOrStructConstraintSyntax

Parameters

classOrStructKeyword
SyntaxToken

Returns

Applies to