共用方式為


NameEqualsSyntax.WithName(IdentifierNameSyntax) Method

Definition

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

Parameters

Returns

Applies to