AttributeSyntax.WithName(NameSyntax) 方法

定义

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

参数

name
NameSyntax

返回

适用于