共用方式為


NameMemberCrefSyntax.WithName(TypeSyntax) Method

Definition

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

Parameters

name
TypeSyntax

Returns

Applies to