共用方式為


TypeParameterConstraintClauseSyntax.WithName(IdentifierNameSyntax) Method

Definition

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

Parameters

Returns

Applies to