共用方式為


AttributeSyntax.WithName(NameSyntax) Method

Definition

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

Parameters

name
NameSyntax

Returns

Applies to