TypeParameterConstraintClauseSyntax.WithName(IdentifierNameSyntax) 方法

定义

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintClauseSyntax ^ WithName(Microsoft::CodeAnalysis::CSharp::Syntax::IdentifierNameSyntax ^ name);
public Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax WithName (Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax name);
member this.WithName : Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax
Public Function WithName (name As IdentifierNameSyntax) As TypeParameterConstraintClauseSyntax

参数

返回

适用于