共用方式為


ClassOrStructConstraintSyntax.WithClassOrStructKeyword(SyntaxToken) 方法

定義

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

參數

classOrStructKeyword
SyntaxToken

傳回

適用於