共用方式為


UsingDirectiveSyntax.WithName(NameSyntax) Method

Definition

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

Parameters

name
NameSyntax

Returns

Applies to